]>
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 | |
7 | This program and the accompanying materials\r | |
8 | are licensed and made available under the terms and conditions of the BSD License\r | |
9 | which accompanies this distribution. The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef _SMBIOS_PLATFORM_DXE_H_\r | |
18 | #define _SMBIOS_PLATFORM_DXE_H_\r | |
19 | \r | |
20 | #include <PiDxe.h>\r | |
21 | \r | |
22 | #include <Protocol/Smbios.h>\r | |
23 | #include <IndustryStandard/SmBios.h>\r | |
24 | #include <Library/DebugLib.h>\r | |
25 | #include <Library/BaseLib.h>\r | |
26 | #include <Library/BaseMemoryLib.h>\r | |
27 | #include <Library/UefiBootServicesTableLib.h>\r | |
a145e28d | 28 | #include <Library/MemoryAllocationLib.h>\r |
fb511817 | 29 | \r |
30 | \r | |
31 | /**\r | |
32 | Locates the Xen SMBIOS data if it exists\r | |
33 | \r | |
34 | @return SMBIOS_TABLE_ENTRY_POINT Address of Xen SMBIOS data\r | |
35 | \r | |
36 | **/\r | |
37 | SMBIOS_TABLE_ENTRY_POINT *\r | |
38 | GetXenSmbiosTables (\r | |
39 | VOID\r | |
40 | );\r | |
41 | \r | |
42 | \r | |
a145e28d GS |
43 | /**\r |
44 | Locates and extracts the QEMU SMBIOS table data if present in fw_cfg\r | |
45 | \r | |
46 | @return Address of extracted QEMU SMBIOS data\r | |
47 | \r | |
48 | **/\r | |
49 | UINT8 *\r | |
50 | GetQemuSmbiosTables (\r | |
51 | VOID\r | |
52 | );\r | |
53 | \r | |
fb511817 | 54 | #endif\r |