TianoCore EDK2 master
Loading...
Searching...
No Matches
SmbiosPlatformDxe.c File Reference

Go to the source code of this file.

Functions

UINTN SmbiosTableLength (IN SMBIOS_STRUCTURE_POINTER SmbiosTable)
 
EFI_STATUS InstallAllStructures (IN UINT8 *TableAddress)
 

Variables

STATIC CONST SMBIOS_TABLE_TYPE0 mOvmfDefaultType0
 

Detailed Description

This driver installs SMBIOS information for OVMF

Copyright (c) 2011, Bei Guan gbtju.nosp@m.85@g.nosp@m.mail..nosp@m.com Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SmbiosPlatformDxe.c.

Function Documentation

◆ InstallAllStructures()

EFI_STATUS InstallAllStructures ( IN UINT8 *  TableAddress)

Install all structures from the given SMBIOS structures block

Parameters
TableAddressSMBIOS tables starting address

Definition at line 86 of file SmbiosPlatformDxe.c.

◆ SmbiosTableLength()

UINTN SmbiosTableLength ( IN SMBIOS_STRUCTURE_POINTER  SmbiosTable)

Get SMBIOS record length.

Parameters
SmbiosTableSMBIOS pointer.

Definition at line 58 of file SmbiosPlatformDxe.c.

Variable Documentation

◆ mOvmfDefaultType0

STATIC CONST SMBIOS_TABLE_TYPE0 mOvmfDefaultType0
Initial value:
= {
{
EFI_SMBIOS_TYPE_BIOS_INFORMATION,
sizeof (SMBIOS_TABLE_TYPE0),
},
1,
2,
0xE800,
3,
0,
{
0,
0,
1,
},
{
0,
0x1C
},
0,
0,
0xFF,
0xFF
}

Definition at line 22 of file SmbiosPlatformDxe.c.