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

Go to the source code of this file.

Macros

#define AEGIS_FRU_LOG_SIZE   sizeof(plat_err_log_mapping)
 
#define LOG_ASSERT   1
 
#define LOG_DEASSERT   0
 

Enumerations

enum  LOG_ERROR_TRIGGER_CAUSE { CPLD_UNEXPECTED_VAL_TRIGGER_CAUSE = 0b100 , MAX_TRIGGER_CAUSE = 0b1000 }
 

Functions

uint16_t error_log_count (void)
 
void init_load_eeprom_log (void)
 
void plat_log_read (uint8_t *log_data, uint8_t cmd_size, uint16_t order)
 
void error_log_event (uint16_t error_code, bool log_status)
 
void plat_clear_log ()
 
uint8_t plat_log_get_num (void)
 
struct __attribute__ ((packed)) _plat_err_log_mapping
 

Variables

 plat_err_log_mapping
 

Macro Definition Documentation

◆ AEGIS_FRU_LOG_SIZE

#define AEGIS_FRU_LOG_SIZE   sizeof(plat_err_log_mapping)

◆ LOG_ASSERT

#define LOG_ASSERT   1

◆ LOG_DEASSERT

#define LOG_DEASSERT   0

Enumeration Type Documentation

◆ LOG_ERROR_TRIGGER_CAUSE

Enumerator
CPLD_UNEXPECTED_VAL_TRIGGER_CAUSE 
MAX_TRIGGER_CAUSE 

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed)  )

◆ error_log_count()

uint16_t error_log_count ( void  )

◆ error_log_event()

void error_log_event ( uint16_t  error_code,
bool  log_status 
)

◆ init_load_eeprom_log()

void init_load_eeprom_log ( void  )

◆ plat_clear_log()

void plat_clear_log ( )

◆ plat_log_get_num()

uint8_t plat_log_get_num ( void  )

◆ plat_log_read()

void plat_log_read ( uint8_t *  log_data,
uint8_t  cmd_size,
uint16_t  order 
)

Variable Documentation

◆ plat_err_log_mapping

plat_err_log_mapping