![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <types.h>
#include <console/console.h>
#include <drivers/ipmi/ipmi_kcs.h>
#include <string.h>
#include <build.h>
#include "ipmi_supermicro_oem.h"
Go to the source code of this file.
Data Structures | |
struct | ipmi_oem_set_bios_str |
Macros | |
#define | IPMI_NETFN_OEM 0x30 |
#define | IPMI_LUN0_AC_SET_BIOS_VER 0x100 |
#define | IPMI_LUN0_AC_SET_BIOS_DATE 0x101 |
#define | IPMI_LUN0_SET_BIOS_STRING 0xac |
Functions | |
static void | set_coreboot_ver (const uint16_t kcs_port) |
static void | set_coreboot_date (const uint16_t kcs_port) |
void | supermicro_ipmi_oem (const uint16_t kcs_port) |
Variables | |
struct ipmi_oem_set_bios_str | __packed |
#define IPMI_LUN0_AC_SET_BIOS_DATE 0x101 |
Definition at line 13 of file supermicro_oem.c.
#define IPMI_LUN0_AC_SET_BIOS_VER 0x100 |
Definition at line 12 of file supermicro_oem.c.
#define IPMI_LUN0_SET_BIOS_STRING 0xac |
Definition at line 14 of file supermicro_oem.c.
#define IPMI_NETFN_OEM 0x30 |
Definition at line 11 of file supermicro_oem.c.
Definition at line 47 of file supermicro_oem.c.
References BIOS_ERR, ipmi_rsp::completion_code, ipmi_kcs_message(), IPMI_LUN0_AC_SET_BIOS_DATE, IPMI_LUN0_SET_BIOS_STRING, IPMI_NETFN_OEM, printk, ipmi_oem_set_bios_str::str, strncpy(), and ipmi_oem_set_bios_str::ver.
Referenced by supermicro_ipmi_oem().
Definition at line 21 of file supermicro_oem.c.
References BIOS_ERR, ipmi_rsp::completion_code, ipmi_kcs_message(), IPMI_LUN0_AC_SET_BIOS_VER, IPMI_LUN0_SET_BIOS_STRING, IPMI_NETFN_OEM, printk, ipmi_oem_set_bios_str::str, and ipmi_oem_set_bios_str::ver.
Referenced by supermicro_ipmi_oem().
Definition at line 66 of file supermicro_oem.c.
References set_coreboot_date(), and set_coreboot_ver().
Referenced by ipmi_kcs_init().
struct ipmi_oem_set_bios_str __packed |