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>
25 Locates the bhyve SMBIOS data if it exists
27 @return SMBIOS_TABLE_ENTRY_POINT Address of bhyve SMBIOS data
30 SMBIOS_TABLE_ENTRY_POINT
*
31 GetBhyveSmbiosTables (
36 Validates the SMBIOS entry point structure
38 @param EntryPointStructure SMBIOS entry point structure
40 @retval TRUE The entry point structure is valid
41 @retval FALSE The entry point structure is not valid
45 IsEntryPointStructureValid (
46 IN SMBIOS_TABLE_ENTRY_POINT
*EntryPointStructure
49 #endif /* _SMBIOS_PLATFORM_DXE_H_ */