]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h
OvmfPkg: Apply uncrustify changes
[mirror_edk2.git] / OvmfPkg / Bhyve / SmbiosPlatformDxe / SmbiosPlatformDxe.h
1 /** @file
2 This driver installs SMBIOS information for OVMF
3
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>
7
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10 **/
11
12 #ifndef _SMBIOS_PLATFORM_DXE_H_
13 #define _SMBIOS_PLATFORM_DXE_H_
14
15 #include <PiDxe.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>
23
24 /**
25 Locates the bhyve SMBIOS data if it exists
26
27 @return SMBIOS_TABLE_ENTRY_POINT Address of bhyve SMBIOS data
28
29 **/
30 SMBIOS_TABLE_ENTRY_POINT *
31 GetBhyveSmbiosTables (
32 VOID
33 );
34
35 /**
36 Validates the SMBIOS entry point structure
37
38 @param EntryPointStructure SMBIOS entry point structure
39
40 @retval TRUE The entry point structure is valid
41 @retval FALSE The entry point structure is not valid
42
43 **/
44 BOOLEAN
45 IsEntryPointStructureValid (
46 IN SMBIOS_TABLE_ENTRY_POINT *EntryPointStructure
47 );
48
49 #endif /* _SMBIOS_PLATFORM_DXE_H_ */