]>
Commit | Line | Data |
---|---|---|
656419f9 RC |
1 | /** @file\r |
2 | This driver installs SMBIOS information for OVMF\r | |
3 | \r | |
4 | Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>\r | |
5 | Copyright (c) 2011, Bei Guan <gbtju85@gmail.com>\r | |
6 | Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r | |
7 | \r | |
8 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
9 | \r | |
10 | **/\r | |
11 | \r | |
12 | #ifndef _SMBIOS_PLATFORM_DXE_H_\r | |
13 | #define _SMBIOS_PLATFORM_DXE_H_\r | |
14 | \r | |
15 | #include <PiDxe.h>\r | |
656419f9 RC |
16 | #include <Protocol/Smbios.h>\r |
17 | #include <IndustryStandard/SmBios.h>\r | |
656419f9 RC |
18 | #include <Library/BaseLib.h>\r |
19 | #include <Library/BaseMemoryLib.h>\r | |
9fb629ed | 20 | #include <Library/DebugLib.h>\r |
656419f9 | 21 | #include <Library/MemoryAllocationLib.h>\r |
9fb629ed | 22 | #include <Library/UefiBootServicesTableLib.h>\r |
656419f9 | 23 | \r |
656419f9 RC |
24 | /**\r |
25 | Locates the bhyve SMBIOS data if it exists\r | |
26 | \r | |
27 | @return SMBIOS_TABLE_ENTRY_POINT Address of bhyve SMBIOS data\r | |
28 | \r | |
29 | **/\r | |
30 | SMBIOS_TABLE_ENTRY_POINT *\r | |
31 | GetBhyveSmbiosTables (\r | |
32 | VOID\r | |
33 | );\r | |
34 | \r | |
656419f9 RC |
35 | /**\r |
36 | Validates the SMBIOS entry point structure\r | |
37 | \r | |
38 | @param EntryPointStructure SMBIOS entry point structure\r | |
39 | \r | |
40 | @retval TRUE The entry point structure is valid\r | |
41 | @retval FALSE The entry point structure is not valid\r | |
42 | \r | |
43 | **/\r | |
44 | BOOLEAN\r | |
45 | IsEntryPointStructureValid (\r | |
46 | IN SMBIOS_TABLE_ENTRY_POINT *EntryPointStructure\r | |
47 | );\r | |
48 | \r | |
9fb629ed | 49 | #endif /* _SMBIOS_PLATFORM_DXE_H_ */\r |