OpenBIC
OpenSource Bridge-IC
storage_handler.h File Reference
#include "ipmi.h"
Include dependency graph for storage_handler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sel_event_record
 
struct  oem_sel_event_record
 
struct  ipmi_storage_add_sel_req
 
struct  ipmi_storage_add_sel_resp
 

Functions

struct sel_event_record __attribute__ ((__packed__))
 
uint8_t get_add_sel_target_interface ()
 
void STORAGE_GET_FRUID_INFO (ipmi_msg *msg)
 
void STORAGE_READ_FRUID_DATA (ipmi_msg *msg)
 
void STORAGE_WRITE_FRUID_DATA (ipmi_msg *msg)
 
void STORAGE_RSV_SDR (ipmi_msg *msg)
 
void STORAGE_GET_SDR (ipmi_msg *msg)
 
void STORAGE_ADD_SEL (ipmi_msg *msg)
 
void IPMI_Storage_handler (ipmi_msg *msg)
 

Variables

uint16_t record_id
 
uint8_t record_type
 
uint32_t timestamp
 
uint8_t gen_id [2]
 
uint8_t evm_rev
 
uint8_t sensor_type
 
uint8_t sensor_num
 
union {
   struct {
      uint8_t   event_type: 7
 
      uint8_t   event_dir: 1
 
   } 
 
   uint8_t   event_dir_type
 
}; 
 
uint8_t event_data [3]
 
uint8_t general_info
 
uint8_t failure_event_type
 
uint8_t rsv_1
 
uint8_t rsv_2
 
uint8_t rsv_3
 
uint8_t failure_event_details
 
uint8_t pxe_http_fail_type
 
uint8_t pxe_http_error_code
 
uint8_t rsv_4
 
union {
   struct sel_event_record   event
 
   struct oem_sel_event_record   oem_event
 
}; 
 

Function Documentation

◆ __attribute__()

struct sel_event_record __attribute__ ( (__packed__)  )

◆ get_add_sel_target_interface()

uint8_t get_add_sel_target_interface ( )

◆ IPMI_Storage_handler()

void IPMI_Storage_handler ( ipmi_msg msg)
Here is the call graph for this function:

◆ STORAGE_ADD_SEL()

void STORAGE_ADD_SEL ( ipmi_msg msg)
Here is the call graph for this function:

◆ STORAGE_GET_FRUID_INFO()

void STORAGE_GET_FRUID_INFO ( ipmi_msg msg)
Here is the call graph for this function:

◆ STORAGE_GET_SDR()

void STORAGE_GET_SDR ( ipmi_msg msg)
Here is the call graph for this function:

◆ STORAGE_READ_FRUID_DATA()

void STORAGE_READ_FRUID_DATA ( ipmi_msg msg)
Here is the call graph for this function:

◆ STORAGE_RSV_SDR()

void STORAGE_RSV_SDR ( ipmi_msg msg)

◆ STORAGE_WRITE_FRUID_DATA()

void STORAGE_WRITE_FRUID_DATA ( ipmi_msg msg)
Here is the call graph for this function:

Variable Documentation

◆ 

union { ... }

◆ 

union { ... }

◆ event

struct sel_event_record event

◆ event_data

uint8_t event_data[3]

◆ event_dir

uint8_t event_dir

◆ event_dir_type

uint8_t event_dir_type

◆ event_type

uint8_t event_type

◆ evm_rev

uint8_t evm_rev

◆ failure_event_details

uint8_t failure_event_details

◆ failure_event_type

uint8_t failure_event_type

◆ gen_id

uint8_t gen_id[2]

◆ general_info

uint8_t general_info

◆ oem_event

struct oem_sel_event_record oem_event

◆ pxe_http_error_code

uint8_t pxe_http_error_code

◆ pxe_http_fail_type

uint8_t pxe_http_fail_type

◆ record_id

uint8_t record_id

◆ record_type

uint8_t record_type

◆ rsv_1

uint8_t rsv_1

◆ rsv_2

uint8_t rsv_2

◆ rsv_3

uint8_t rsv_3

◆ rsv_4

uint8_t rsv_4

◆ sensor_num

uint8_t sensor_num

◆ sensor_type

uint8_t sensor_type

◆ timestamp

uint32_t timestamp