coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smbios.c File Reference
#include <chip.h>
#include <device/device.h>
#include <device/pci_def.h>
#include <ec/starlabs/merlin/ec.h>
#include <smbios.h>
#include <types.h>
#include <uuid.h>
#include <variants.h>
Include dependency graph for smbios.c:

Go to the source code of this file.

Functions

const char * smbios_mainboard_bios_version (void)
 
void smbios_ec_revision (uint8_t *ec_major_revision, uint8_t *ec_minor_revision)
 
const char * smbios_system_sku (void)
 
u8 smbios_mainboard_feature_flags (void)
 
const char * smbios_chassis_version (void)
 
const char * smbios_chassis_serial_number (void)
 

Function Documentation

◆ smbios_chassis_serial_number()

const char* smbios_chassis_serial_number ( void  )

Definition at line 41 of file smbios.c.

References smbios_mainboard_serial_number().

Here is the call graph for this function:

◆ smbios_chassis_version()

const char* smbios_chassis_version ( void  )

Definition at line 36 of file smbios.c.

References smbios_mainboard_version().

Here is the call graph for this function:

◆ smbios_ec_revision()

void smbios_ec_revision ( uint8_t ec_major_revision,
uint8_t ec_minor_revision 
)

Definition at line 18 of file smbios.c.

References ec_get_version().

Referenced by smbios_write_type0().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ smbios_mainboard_bios_version()

const char* smbios_mainboard_bios_version ( void  )

Definition at line 12 of file smbios.c.

Referenced by get_bios_version().

Here is the caller graph for this function:

◆ smbios_mainboard_feature_flags()

u8 smbios_mainboard_feature_flags ( void  )

Definition at line 31 of file smbios.c.

References SMBIOS_FEATURE_FLAGS_HOSTING_BOARD, and SMBIOS_FEATURE_FLAGS_REPLACEABLE.

Referenced by smbios_write_type2().

Here is the caller graph for this function:

◆ smbios_system_sku()

const char* smbios_system_sku ( void  )

Definition at line 26 of file smbios.c.

Referenced by smbios_write_type1().

Here is the caller graph for this function: