2 This driver installs SMBIOS information for OVMF
4 Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>
5 Copyright (c) 2011, Bei Guan <gbtju85@gmail.com>
6 Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #ifndef _SMBIOS_PLATFORM_DXE_H_
13 #define _SMBIOS_PLATFORM_DXE_H_
16 #include <Protocol/Smbios.h>
17 #include <IndustryStandard/SmBios.h>
18 #include <Library/BaseLib.h>
19 #include <Library/BaseMemoryLib.h>
20 #include <Library/DebugLib.h>
21 #include <Library/MemoryAllocationLib.h>
22 #include <Library/UefiBootServicesTableLib.h>
26 Locates the bhyve SMBIOS data if it exists
28 @return SMBIOS_TABLE_ENTRY_POINT Address of bhyve SMBIOS data
31 SMBIOS_TABLE_ENTRY_POINT
*
32 GetBhyveSmbiosTables (
38 Validates the SMBIOS entry point structure
40 @param EntryPointStructure SMBIOS entry point structure
42 @retval TRUE The entry point structure is valid
43 @retval FALSE The entry point structure is not valid
47 IsEntryPointStructureValid (
48 IN SMBIOS_TABLE_ENTRY_POINT
*EntryPointStructure
51 #endif /* _SMBIOS_PLATFORM_DXE_H_ */