coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bmcinfo.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BOOT_OPTION_NIC_ONLY   0
 
#define BOOT_OPTION_DISK_FIRST   1
 
#define BOOT_OPTION_DISK_SECOND   2
 
#define BOOT_OPTION_ORDER_MASK   3
 
#define BOOT_OPTION_NO_EFISHELL   0x80
 

Functions

char * bmcinfo_serial (void)
 
u8bmcinfo_uuid (void)
 
int bmcinfo_slot (void)
 
int bmcinfo_hwrev (void)
 
u32 bmcinfo_baudrate (void)
 
int bmcinfo_coreboot_verbosity_level (void)
 
int bmcinfo_fsp_verbosity_level (void)
 
int bmcinfo_relax_security (void)
 
int bmcinfo_boot_option (void)
 
int bmcinfo_disable_nic1 (void)
 

Macro Definition Documentation

◆ BOOT_OPTION_DISK_FIRST

#define BOOT_OPTION_DISK_FIRST   1

Definition at line 8 of file bmcinfo.h.

◆ BOOT_OPTION_DISK_SECOND

#define BOOT_OPTION_DISK_SECOND   2

Definition at line 10 of file bmcinfo.h.

◆ BOOT_OPTION_NIC_ONLY

#define BOOT_OPTION_NIC_ONLY   0

Definition at line 6 of file bmcinfo.h.

◆ BOOT_OPTION_NO_EFISHELL

#define BOOT_OPTION_NO_EFISHELL   0x80

Definition at line 14 of file bmcinfo.h.

◆ BOOT_OPTION_ORDER_MASK

#define BOOT_OPTION_ORDER_MASK   3

Definition at line 12 of file bmcinfo.h.

Function Documentation

◆ bmcinfo_baudrate()

u32 bmcinfo_baudrate ( void  )

Definition at line 122 of file bmcinfo.c.

References BMC_INFO, and IS_BMC_INFO_FIELD_VALID.

Referenced by get_uart_baudrate().

Here is the caller graph for this function:

◆ bmcinfo_boot_option()

int bmcinfo_boot_option ( void  )

Definition at line 150 of file bmcinfo.c.

References BMC_INFO, and IS_BMC_INFO_FIELD_VALID.

◆ bmcinfo_coreboot_verbosity_level()

int bmcinfo_coreboot_verbosity_level ( void  )

Definition at line 129 of file bmcinfo.c.

References BIOS_CRIT, BMC_INFO, and IS_BMC_INFO_FIELD_VALID.

◆ bmcinfo_disable_nic1()

int bmcinfo_disable_nic1 ( void  )

Definition at line 157 of file bmcinfo.c.

References BMC_INFO, and IS_BMC_INFO_FIELD_VALID.

Referenced by mainboard_silicon_init_params().

Here is the caller graph for this function:

◆ bmcinfo_fsp_verbosity_level()

int bmcinfo_fsp_verbosity_level ( void  )

Definition at line 136 of file bmcinfo.c.

References BMC_INFO, and IS_BMC_INFO_FIELD_VALID.

Referenced by mainboard_memory_init_params().

Here is the caller graph for this function:

◆ bmcinfo_hwrev()

int bmcinfo_hwrev ( void  )

Definition at line 115 of file bmcinfo.c.

References BMC_INFO, and IS_BMC_INFO_FIELD_VALID.

Referenced by smbios_mainboard_version().

Here is the caller graph for this function:

◆ bmcinfo_relax_security()

int bmcinfo_relax_security ( void  )

Definition at line 143 of file bmcinfo.c.

References BMC_INFO, and IS_BMC_INFO_FIELD_VALID.

◆ bmcinfo_serial()

char* bmcinfo_serial ( void  )

Definition at line 94 of file bmcinfo.c.

References BMC_INFO, IS_BMC_INFO_FIELD_VALID, and NULL.

Referenced by bootblock_mainboard_init(), mainboard_config_gpios(), and smbios_mainboard_serial_number().

Here is the caller graph for this function:

◆ bmcinfo_slot()

int bmcinfo_slot ( void  )

Definition at line 108 of file bmcinfo.c.

References BMC_INFO, and IS_BMC_INFO_FIELD_VALID.

Referenced by smbios_mainboard_location_in_chassis().

Here is the caller graph for this function:

◆ bmcinfo_uuid()

u8* bmcinfo_uuid ( void  )

Definition at line 101 of file bmcinfo.c.

References BMC_INFO, IS_BMC_INFO_FIELD_VALID, and NULL.

Referenced by smbios_system_set_uuid().

Here is the caller graph for this function: