coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bmcinfo.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef MAINBOARD_BMCINFO_H
3 #define MAINBOARD_BMCINFO_H
4 
5 // Do not place disks in boot order
6 #define BOOT_OPTION_NIC_ONLY 0
7 // Boot to disk first (before network)
8 #define BOOT_OPTION_DISK_FIRST 1
9 // Boot to disk second (after network)
10 #define BOOT_OPTION_DISK_SECOND 2
11 // Boot order mask
12 #define BOOT_OPTION_ORDER_MASK 3
13 // Reset after boot sequence (don't go to EFI shell)
14 #define BOOT_OPTION_NO_EFISHELL 0x80
15 
16 char *bmcinfo_serial(void);
17 u8 *bmcinfo_uuid(void);
18 int bmcinfo_slot(void);
19 int bmcinfo_hwrev(void);
20 u32 bmcinfo_baudrate(void);
23 int bmcinfo_relax_security(void);
24 int bmcinfo_boot_option(void);
25 int bmcinfo_disable_nic1(void);
26 
27 #endif /* MAINBOARD_BMCINFO_H */
u32 bmcinfo_baudrate(void)
Definition: bmcinfo.c:122
u8 * bmcinfo_uuid(void)
Definition: bmcinfo.c:101
int bmcinfo_fsp_verbosity_level(void)
Definition: bmcinfo.c:136
int bmcinfo_boot_option(void)
Definition: bmcinfo.c:150
int bmcinfo_relax_security(void)
Definition: bmcinfo.c:143
char * bmcinfo_serial(void)
Definition: bmcinfo.c:94
int bmcinfo_slot(void)
Definition: bmcinfo.c:108
int bmcinfo_hwrev(void)
Definition: bmcinfo.c:115
int bmcinfo_disable_nic1(void)
Definition: bmcinfo.c:157
int bmcinfo_coreboot_verbosity_level(void)
Definition: bmcinfo.c:129
uint32_t u32
Definition: stdint.h:51
uint8_t u8
Definition: stdint.h:45