OpenBIC
OpenSource Bridge-IC
plat_cpu.h File Reference
#include <stdint.h>
Include dependency graph for plat_cpu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CPU_TIME_UNIT   100000000
 
#define MONITOR_CPU_STACK_SIZE   600
 
#define MONITOR_CPU_TIME_MS   1000
 
#define MONITOR_SMIOUT_STACK_SIZE   400
 
#define MONITOR_SMIOUT_TIME_MS   500
 
#define SMIOUT_INDEX   9
 
#define SMIOUT_TIMEOUT   90
 
#define RDPKG_IDX_PKG_THERMAL_STATUS   0x14
 
#define THERMAL_STATUS_DEASSERT   0
 
#define THERMAL_STATUS_ASSERT   1
 

Enumerations

enum  GET_SET_STATUS_OPTION { GET_STATUS , SET_STATUS }
 

Functions

void monitor_cpu_handler ()
 
void start_monitor_cpu_thread ()
 
void monitor_smiout_handler ()
 
void start_monitor_smi_thread ()
 
void set_dam_pin ()
 
int pal_get_set_dam_status (uint8_t options, uint8_t *status)
 

Macro Definition Documentation

◆ CPU_TIME_UNIT

#define CPU_TIME_UNIT   100000000

◆ MONITOR_CPU_STACK_SIZE

#define MONITOR_CPU_STACK_SIZE   600

◆ MONITOR_CPU_TIME_MS

#define MONITOR_CPU_TIME_MS   1000

◆ MONITOR_SMIOUT_STACK_SIZE

#define MONITOR_SMIOUT_STACK_SIZE   400

◆ MONITOR_SMIOUT_TIME_MS

#define MONITOR_SMIOUT_TIME_MS   500

◆ RDPKG_IDX_PKG_THERMAL_STATUS

#define RDPKG_IDX_PKG_THERMAL_STATUS   0x14

◆ SMIOUT_INDEX

#define SMIOUT_INDEX   9

◆ SMIOUT_TIMEOUT

#define SMIOUT_TIMEOUT   90

◆ THERMAL_STATUS_ASSERT

#define THERMAL_STATUS_ASSERT   1

◆ THERMAL_STATUS_DEASSERT

#define THERMAL_STATUS_DEASSERT   0

Enumeration Type Documentation

◆ GET_SET_STATUS_OPTION

Enumerator
GET_STATUS 
SET_STATUS 

Function Documentation

◆ monitor_cpu_handler()

void monitor_cpu_handler ( )
Here is the call graph for this function:

◆ monitor_smiout_handler()

void monitor_smiout_handler ( )

◆ pal_get_set_dam_status()

int pal_get_set_dam_status ( uint8_t  options,
uint8_t *  status 
)
Here is the call graph for this function:

◆ set_dam_pin()

void set_dam_pin ( )
Here is the call graph for this function:

◆ start_monitor_cpu_thread()

void start_monitor_cpu_thread ( )
Here is the call graph for this function:

◆ start_monitor_smi_thread()

void start_monitor_smi_thread ( )
Here is the call graph for this function: