diff options
author | Wei Liu <wei.liu2@citrix.com> | 2013-12-08 01:36:15 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-12-08 01:36:15 +0000 |
commit | bb6a9a9305de5463968a09bb4c5f99f388548a35 (patch) | |
tree | 56c9263548111c5d0c03d31856e5159eea962e6c /OvmfPkg/PlatformPei/Platform.h | |
parent | 36658fff454167c716993cf649f6172361b0e7b2 (diff) | |
download | edk2-platforms-bb6a9a9305de5463968a09bb4c5f99f388548a35.tar.xz |
OvmfPkg: introduce XenMemMapInitialization
This function parses E820 map provided by Xen and arrange memory maps
accordingly.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
[jordan.l.justen@intel.com: XenGetE820Map: VS2010 compat; add assert]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14945 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/PlatformPei/Platform.h')
-rw-r--r-- | OvmfPkg/PlatformPei/Platform.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OvmfPkg/PlatformPei/Platform.h b/OvmfPkg/PlatformPei/Platform.h index 7344c610bb..5378b9d8e7 100644 --- a/OvmfPkg/PlatformPei/Platform.h +++ b/OvmfPkg/PlatformPei/Platform.h @@ -15,6 +15,8 @@ #ifndef _PLATFORM_PEI_H_INCLUDED_
#define _PLATFORM_PEI_H_INCLUDED_
+#include <IndustryStandard/E820.h>
+
VOID
AddIoMemoryBaseSizeHob (
EFI_PHYSICAL_ADDRESS MemoryBase,
@@ -82,4 +84,10 @@ XenDetect ( VOID
);
+EFI_STATUS
+XenGetE820Map (
+ EFI_E820_ENTRY64 **Entries,
+ UINT32 *Count
+ );
+
#endif // _PLATFORM_PEI_H_INCLUDED_
|