TianoCore EDK2 master
Loading...
Searching...
No Matches
PlatformSmbiosDxe.c File Reference
#include <PiDxe.h>
#include <IndustryStandard/SmBios.h>
#include <Protocol/Smbios.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/SmbiosLib.h>
#include <Library/HobLib.h>

Go to the source code of this file.

Functions

VOID CreatePlatformSmbiosMemoryRecords (VOID)
 
EFI_STATUS EFIAPI PlatformSmbiosDriverEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

SMBIOS_TEMPLATE_ENTRY gSmbiosTemplate []
 
SMBIOS_TABLE_TYPE19 gSmbiosType19Template
 

Detailed Description

Static SMBIOS Table for platform

Copyright (c) 2012, Apple Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PlatformSmbiosDxe.c.

Function Documentation

◆ CreatePlatformSmbiosMemoryRecords()

VOID CreatePlatformSmbiosMemoryRecords ( VOID  )

Definition at line 33 of file PlatformSmbiosDxe.c.

◆ PlatformSmbiosDriverEntryPoint()

EFI_STATUS EFIAPI PlatformSmbiosDriverEntryPoint ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Main entry for this driver.

Parameters
ImageHandleImage handle this driver.
SystemTablePointer to SystemTable.
Return values
EFI_SUCESSThis function always complete successfully.

Definition at line 83 of file PlatformSmbiosDxe.c.

Variable Documentation

◆ gSmbiosTemplate

SMBIOS_TEMPLATE_ENTRY gSmbiosTemplate[]
extern

Definition at line 418 of file SmbiosTable.c.

◆ gSmbiosType19Template

SMBIOS_TABLE_TYPE19 gSmbiosType19Template
Initial value:
= {
{ EFI_SMBIOS_TYPE_MEMORY_ARRAY_MAPPED_ADDRESS, sizeof (SMBIOS_TABLE_TYPE19), 0 },
0xffffffff,
0xffffffff,
0,
1,
0,
0,
}

Definition at line 22 of file PlatformSmbiosDxe.c.