diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2019-08-13 12:31:04 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2019-08-21 18:03:49 +0200 |
commit | 64eac29576dd4d6a8f990a61d81ff77c5e4180cb (patch) | |
tree | 9ab3664e8a866286ca19ad94d6b2a0339dc62cb1 /OvmfPkg/XenPlatformPei/Platform.h | |
parent | 12998837d5944e9d9fa447c918ab5e3c44459dd2 (diff) | |
download | edk2-64eac29576dd4d6a8f990a61d81ff77c5e4180cb.tar.gz edk2-64eac29576dd4d6a8f990a61d81ff77c5e4180cb.tar.bz2 edk2-64eac29576dd4d6a8f990a61d81ff77c5e4180cb.zip |
OvmfPkg/XenPlatformPei: Introduce XenPvhDetected
XenPvhDetected() can be used to figure out if OVMF has started via the
Xen PVH entry point.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190813113119.14804-21-anthony.perard@citrix.com>
Diffstat (limited to 'OvmfPkg/XenPlatformPei/Platform.h')
-rw-r--r-- | OvmfPkg/XenPlatformPei/Platform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/XenPlatformPei/Platform.h b/OvmfPkg/XenPlatformPei/Platform.h index 4a80057bdc..db9a62572f 100644 --- a/OvmfPkg/XenPlatformPei/Platform.h +++ b/OvmfPkg/XenPlatformPei/Platform.h @@ -99,6 +99,11 @@ XenHvmloaderDetected ( VOID
);
+BOOLEAN
+XenPvhDetected (
+ VOID
+ );
+
VOID
AmdSevInitialize (
VOID
|