OpenBIC
OpenSource Bridge-IC
|
#include <zephyr.h>
#include <kernel.h>
#include <stdio.h>
#include <logging/log.h>
#include "cmsis_os2.h"
#include "ipmi.h"
#include "plat_def.h"
#include "usb.h"
#include <string.h>
#include <stdlib.h>
#include "libutil.h"
#include "app_handler.h"
#include "chassis_handler.h"
#include "oem_handler.h"
#include "oem_1s_handler.h"
#include "sensor_handler.h"
#include "storage_handler.h"
#include "mctp.h"
#include "pldm.h"
#include "plat_ipmb.h"
Macros | |
#define | IPMI_QUEUE_SIZE 5 |
Functions | |
LOG_MODULE_REGISTER (ipmi) | |
K_KERNEL_STACK_MEMBER (IPMI_thread_stack, IPMI_THREAD_STACK_SIZE) | |
K_KERNEL_STACK_MEMBER (IPMI_handle_thread_stack, IPMI_HANDLE_THREAD_STACK_SIZE) | |
char | __aligned (4) |
__weak uint32_t | get_iana (uint8_t *iana_buf) |
__weak bool | pal_set_dimm_presence_status (uint8_t *buf) |
__weak bool | pal_request_msg_to_BIC_from_HOST (uint8_t netfn, uint8_t cmd) |
__weak bool | pal_immediate_respond_from_HOST (uint8_t netfn, uint8_t cmd) |
__weak int | pal_record_bios_fw_version (uint8_t *buf, uint8_t size) |
__weak bool | pal_request_msg_to_BIC_from_ME (uint8_t netfn, uint8_t cmd) |
__weak bool | pal_is_not_return_cmd (uint8_t netfn, uint8_t cmd) |
bool | common_add_sel_evt_record (common_addsel_msg_t *sel_msg) |
void | ipmi_cmd_handle (void *parameters, void *arvg0, void *arvg1) |
void | IPMI_handler (void *arug0, void *arug1, void *arug2) |
void | ipmi_init (void) |
Variables | |
struct k_thread | IPMI_thread |
struct k_thread | IPMI_handle_thread |
#define IPMI_QUEUE_SIZE 5 |
char __aligned | ( | 4 | ) |
bool common_add_sel_evt_record | ( | common_addsel_msg_t * | sel_msg | ) |
__weak uint32_t get_iana | ( | uint8_t * | iana_buf | ) |
void ipmi_cmd_handle | ( | void * | parameters, |
void * | arvg0, | ||
void * | arvg1 | ||
) |
void IPMI_handler | ( | void * | arug0, |
void * | arug1, | ||
void * | arug2 | ||
) |
void ipmi_init | ( | void | ) |
K_KERNEL_STACK_MEMBER | ( | IPMI_handle_thread_stack | , |
IPMI_HANDLE_THREAD_STACK_SIZE | |||
) |
K_KERNEL_STACK_MEMBER | ( | IPMI_thread_stack | , |
IPMI_THREAD_STACK_SIZE | |||
) |
LOG_MODULE_REGISTER | ( | ipmi | ) |
__weak bool pal_immediate_respond_from_HOST | ( | uint8_t | netfn, |
uint8_t | cmd | ||
) |
__weak bool pal_is_not_return_cmd | ( | uint8_t | netfn, |
uint8_t | cmd | ||
) |
__weak int pal_record_bios_fw_version | ( | uint8_t * | buf, |
uint8_t | size | ||
) |
__weak bool pal_request_msg_to_BIC_from_HOST | ( | uint8_t | netfn, |
uint8_t | cmd | ||
) |
__weak bool pal_request_msg_to_BIC_from_ME | ( | uint8_t | netfn, |
uint8_t | cmd | ||
) |
__weak bool pal_set_dimm_presence_status | ( | uint8_t * | buf | ) |
struct k_thread IPMI_handle_thread |
struct k_thread IPMI_thread |