]>
Commit | Line | Data |
---|---|---|
fb511817 | 1 | /** @file\r |
2 | This driver installs SMBIOS information for OVMF\r | |
3 | \r | |
4 | Copyright (c) 2011, Bei Guan <gbtju85@gmail.com>\r | |
5 | Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r | |
6 | \r | |
b26f0cf9 | 7 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
fb511817 | 8 | \r |
9 | **/\r | |
10 | \r | |
11 | #ifndef _SMBIOS_PLATFORM_DXE_H_\r | |
12 | #define _SMBIOS_PLATFORM_DXE_H_\r | |
13 | \r | |
14 | #include <PiDxe.h>\r | |
15 | \r | |
16 | #include <Protocol/Smbios.h>\r | |
17 | #include <IndustryStandard/SmBios.h>\r | |
18 | #include <Library/DebugLib.h>\r | |
19 | #include <Library/BaseLib.h>\r | |
20 | #include <Library/BaseMemoryLib.h>\r | |
21 | #include <Library/UefiBootServicesTableLib.h>\r | |
a145e28d | 22 | #include <Library/MemoryAllocationLib.h>\r |
fb511817 | 23 | \r |
24 | \r | |
25 | /**\r | |
26 | Locates the Xen SMBIOS data if it exists\r | |
27 | \r | |
28 | @return SMBIOS_TABLE_ENTRY_POINT Address of Xen SMBIOS data\r | |
29 | \r | |
30 | **/\r | |
31 | SMBIOS_TABLE_ENTRY_POINT *\r | |
32 | GetXenSmbiosTables (\r | |
33 | VOID\r | |
34 | );\r | |
35 | \r | |
36 | \r | |
a145e28d GS |
37 | /**\r |
38 | Locates and extracts the QEMU SMBIOS table data if present in fw_cfg\r | |
39 | \r | |
40 | @return Address of extracted QEMU SMBIOS data\r | |
41 | \r | |
42 | **/\r | |
43 | UINT8 *\r | |
44 | GetQemuSmbiosTables (\r | |
45 | VOID\r | |
46 | );\r | |
47 | \r | |
fb511817 | 48 | #endif\r |