![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <commonlib/bsd/cb_err.h>
Go to the source code of this file.
Data Structures | |
struct | ppin_req |
struct | boot_order |
Macros | |
#define | IPMI_NETFN_OEM 0x30 |
#define | IPMI_OEM_SET_PPIN 0x77 |
#define | IPMI_BMC_SET_POST_START 0x73 |
#define | IPMI_OEM_SET_BIOS_BOOT_ORDER 0x52 |
#define | IPMI_OEM_GET_BIOS_BOOT_ORDER 0x53 |
#define | CMOS_BIT (1 << 1) |
#define | VALID_BIT (1 << 7) |
#define | CLEAR_CMOS_AND_VALID_BIT(x) ((x) &= ~(CMOS_BIT | VALID_BIT)) |
#define | SET_CMOS_AND_VALID_BIT(x) ((x) |= (CMOS_BIT | VALID_BIT)) |
#define | IS_CMOS_AND_VALID_BIT(x) ((x)&CMOS_BIT && (x)&VALID_BIT) |
Functions | |
enum cb_err | ipmi_set_post_start (const int port) |
enum cb_err | ipmi_set_cmos_clear (void) |
Variables | |
struct ppin_req | __packed |
Definition at line 16 of file ipmi_ocp.h.
#define CMOS_BIT (1 << 1) |
Definition at line 14 of file ipmi_ocp.h.
#define IPMI_BMC_SET_POST_START 0x73 |
Definition at line 10 of file ipmi_ocp.h.
#define IPMI_NETFN_OEM 0x30 |
Definition at line 8 of file ipmi_ocp.h.
#define IPMI_OEM_GET_BIOS_BOOT_ORDER 0x53 |
Definition at line 12 of file ipmi_ocp.h.
#define IPMI_OEM_SET_BIOS_BOOT_ORDER 0x52 |
Definition at line 11 of file ipmi_ocp.h.
#define IPMI_OEM_SET_PPIN 0x77 |
Definition at line 9 of file ipmi_ocp.h.
Definition at line 18 of file ipmi_ocp.h.
Definition at line 17 of file ipmi_ocp.h.
#define VALID_BIT (1 << 7) |
Definition at line 15 of file ipmi_ocp.h.
Definition at line 1 of file ipmi_ocp_romstage.c.
References BIOS_DEBUG, BIOS_ERR, CB_ERR, CB_SUCCESS, ipmi_rsp::completion_code, IPMI_BMC_SET_POST_START, ipmi_kcs_message(), IPMI_NETFN_OEM, NULL, and printk.
Referenced by mainboard_rtc_failed().
enum cb_err ipmi_set_post_start | ( | const int | port | ) |
Definition at line 1 of file ipmi_ocp_romstage.c.
Referenced by mainboard_memory_init_params().
struct boot_order __packed |