coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
me.c File Reference
#include <bootstate.h>
#include <intelblocks/cse.h>
#include <intelblocks/spi.h>
#include <console/console.h>
#include <soc/me.h>
#include <stdint.h>
Include dependency graph for me.c:

Go to the source code of this file.

Data Structures

union  me_hfsts2
 
union  me_hfsts4
 
union  me_hfsts5
 
union  me_hfsts6
 

Functions

static void log_me_ro_write_protection_info (bool mfg_mode)
 
static void dump_me_status (void *unused)
 
 BOOT_STATE_INIT_ENTRY (BS_DEV_ENABLE, BS_ON_EXIT, print_me_fw_version, NULL)
 
 BOOT_STATE_INIT_ENTRY (BS_OS_RESUME_CHECK, BS_ON_EXIT, dump_me_status, NULL)
 

Function Documentation

◆ BOOT_STATE_INIT_ENTRY() [1/2]

BOOT_STATE_INIT_ENTRY ( BS_DEV_ENABLE  ,
BS_ON_EXIT  ,
print_me_fw_version  ,
NULL   
)

◆ BOOT_STATE_INIT_ENTRY() [2/2]

BOOT_STATE_INIT_ENTRY ( BS_OS_RESUME_CHECK  ,
BS_ON_EXIT  ,
dump_me_status  ,
NULL   
)

◆ dump_me_status()

◆ log_me_ro_write_protection_info()

static void log_me_ro_write_protection_info ( bool  mfg_mode)
static

Definition at line 94 of file me.c.

References base, BIOS_DEBUG, BIOS_ERR, is_spi_wp_cse_ro_en(), printk, and spi_get_wp_cse_ro_range().

Referenced by dump_me_status().

Here is the call graph for this function:
Here is the caller graph for this function: