OpenBIC
OpenSource Bridge-IC
pldm_smbios.c File Reference
#include <logging/log.h>
#include <string.h>
#include <stdlib.h>
#include "plat_def.h"
#include "libutil.h"
#include "pldm.h"
#include "pldm_smbios.h"
Include dependency graph for pldm_smbios.c:

Functions

 LOG_MODULE_DECLARE (pldm)
 
__weak void pldm_smbios_init_structures ()
 
uint8_t pldm_smbios_get_text_strings_count (char *text_strings)
 
uint8_t pldm_smbios_get_text_strings_size (char *text_strings)
 
int pldm_smbios_set_bios_information (smbios_bios_information *new_bios_information)
 
const char * pldm_smbios_get_bios_version ()
 
uint8_t get_smbios_structure_data_by_type (void *mctp_inst, uint8_t *req, uint16_t req_len, uint8_t instance_id, uint8_t *resp, uint16_t *resp_len, void *ext_params)
 
uint8_t pldm_smbios_handler_query (uint8_t code, void **ret_fn)
 

Function Documentation

◆ get_smbios_structure_data_by_type()

uint8_t get_smbios_structure_data_by_type ( void *  mctp_inst,
uint8_t *  req,
uint16_t  req_len,
uint8_t  instance_id,
uint8_t *  resp,
uint16_t *  resp_len,
void *  ext_params 
)

◆ LOG_MODULE_DECLARE()

LOG_MODULE_DECLARE ( pldm  )

◆ pldm_smbios_get_bios_version()

const char * pldm_smbios_get_bios_version ( )

◆ pldm_smbios_get_text_strings_count()

uint8_t pldm_smbios_get_text_strings_count ( char *  text_strings)

◆ pldm_smbios_get_text_strings_size()

uint8_t pldm_smbios_get_text_strings_size ( char *  text_strings)

◆ pldm_smbios_handler_query()

uint8_t pldm_smbios_handler_query ( uint8_t  code,
void **  ret_fn 
)

◆ pldm_smbios_init_structures()

__weak void pldm_smbios_init_structures ( )

◆ pldm_smbios_set_bios_information()

int pldm_smbios_set_bios_information ( smbios_bios_information *  new_bios_information)
Here is the call graph for this function: