coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smbios.c File Reference
#include <smbios.h>
#include <string.h>
#include <types.h>
#include "eeprom.h"
Include dependency graph for smbios.c:

Go to the source code of this file.

Functions

const char * smbios_system_serial_number (void)
 
const char * smbios_mainboard_serial_number (void)
 
const char * smbios_mainboard_version (void)
 

Function Documentation

◆ smbios_mainboard_serial_number()

const char* smbios_mainboard_serial_number ( void  )

Definition at line 20 of file smbios.c.

References eeprom_read_buffer(), HERMES_SERIAL_NUMBER_LENGTH, offset, and offsetof.

Here is the call graph for this function:

◆ smbios_mainboard_version()

const char* smbios_mainboard_version ( void  )

Definition at line 31 of file smbios.c.

References get_bmc_hsi(), and snprintf().

Here is the call graph for this function:

◆ smbios_system_serial_number()

const char* smbios_system_serial_number ( void  )

Definition at line 9 of file smbios.c.

References eeprom_read_buffer(), HERMES_SERIAL_NUMBER_LENGTH, offset, and offsetof.

Here is the call graph for this function: