OpenBIC
OpenSource Bridge-IC
|
#include <zephyr.h>
#include <sys/printk.h>
#include <logging/log.h>
#include <logging/log_ctrl.h>
#include <stdlib.h>
#include "mctp.h"
#include "mctp_ctrl.h"
#include "pldm.h"
#include "ipmi.h"
#include "sensor.h"
#include "mpro.h"
#include "plat_hook.h"
#include "plat_mctp.h"
#include "plat_gpio.h"
#include "plat_pldm.h"
Classes | |
struct | _pldm_cmd_sup_lst |
struct | _pldm_sensor_event_sup_lst |
Macros | |
#define | PLDM_MAX_INSTID_COUNT 32 |
Functions | |
LOG_MODULE_REGISTER (plat_pldm) | |
bool | pldm_request_msg_need_bypass (uint8_t *buf, uint32_t len) |
uint8_t | pldm_platform_event_message (void *mctp_inst, uint8_t *buf, uint16_t len, uint8_t instance_id, uint8_t *resp, uint16_t *resp_len, void *ext_params) |
bool | pldm_save_mctp_inst_from_ipmb_req (void *mctp_inst, uint8_t inst_num, mctp_ext_params ext_params) |
bridge_store * | pldm_find_mctp_inst_by_inst_id (uint8_t inst_num) |
bool | pldm_send_ipmb_rsp (ipmi_msg *msg) |
Variables | |
struct _pldm_cmd_sup_lst | pldm_cmd_sup_tbl [] |
#define PLDM_MAX_INSTID_COUNT 32 |
LOG_MODULE_REGISTER | ( | plat_pldm | ) |
bridge_store * pldm_find_mctp_inst_by_inst_id | ( | uint8_t | inst_num | ) |
uint8_t pldm_platform_event_message | ( | void * | mctp_inst, |
uint8_t * | buf, | ||
uint16_t | len, | ||
uint8_t | instance_id, | ||
uint8_t * | resp, | ||
uint16_t * | resp_len, | ||
void * | ext_params | ||
) |
bool pldm_request_msg_need_bypass | ( | uint8_t * | buf, |
uint32_t | len | ||
) |
bool pldm_save_mctp_inst_from_ipmb_req | ( | void * | mctp_inst, |
uint8_t | inst_num, | ||
mctp_ext_params | ext_params | ||
) |
bool pldm_send_ipmb_rsp | ( | ipmi_msg * | msg | ) |
struct _pldm_cmd_sup_lst pldm_cmd_sup_tbl[] |