coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ipmi.h File Reference
#include <stdint.h>
Include dependency graph for ipmi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IPMI_OEM_GET_PCIE_CONFIG   0xf4
 
#define IPMI_OEM_GET_BOARD_ID   0x37
 

Enumerations

enum  config_type {
  PCIE_CONFIG_UNKNOWN = 0x0 , PCIE_CONFIG_A = 0x1 , PCIE_CONFIG_B = 0x2 , PCIE_CONFIG_C = 0x3 ,
  PCIE_CONFIG_D = 0x4 , SIO = 0 , MEM , NOP
}
 

Functions

enum cb_err ipmi_get_pcie_config (uint8_t *config)
 
enum cb_err ipmi_get_slot_id (uint8_t *slot_id)
 
void init_frb2_wdt (void)
 

Macro Definition Documentation

◆ IPMI_OEM_GET_BOARD_ID

#define IPMI_OEM_GET_BOARD_ID   0x37

Definition at line 9 of file ipmi.h.

◆ IPMI_OEM_GET_PCIE_CONFIG

#define IPMI_OEM_GET_PCIE_CONFIG   0xf4

Definition at line 8 of file ipmi.h.

Enumeration Type Documentation

◆ config_type

Enumerator
PCIE_CONFIG_UNKNOWN 
PCIE_CONFIG_A 
PCIE_CONFIG_B 
PCIE_CONFIG_C 
PCIE_CONFIG_D 
SIO 
MEM 
NOP 

Definition at line 12 of file ipmi.h.

Function Documentation

◆ init_frb2_wdt()

void init_frb2_wdt ( void  )

Definition at line 60 of file ipmi.c.

◆ ipmi_get_pcie_config()

enum cb_err ipmi_get_pcie_config ( uint8_t config)

Definition at line 1 of file ipmi.c.

References __packed, BIOS_ERR, CB_ERR, CB_SUCCESS, config, ipmi_kcs_message(), IPMI_NETFN_OEM, IPMI_OEM_GET_PCIE_CONFIG, NULL, and printk.

Referenced by create_smbios_type9(), dl_oem_smbios_strings(), and oem_update_iio().

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

◆ ipmi_get_slot_id()

enum cb_err ipmi_get_slot_id ( uint8_t slot_id)

Definition at line 1 of file ipmi.c.

Referenced by smbios_mainboard_location_in_chassis().

Here is the caller graph for this function: