This new XenHvmloaderDetected() return true if the hvmloader firmware
has runned before OVMF.
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-19-anthony.perard@citrix.com>
VOID\r
);\r
\r
+BOOLEAN\r
+XenHvmloaderDetected (\r
+ VOID\r
+ );\r
+\r
VOID\r
AmdSevInitialize (\r
VOID\r
return FALSE;\r
}\r
\r
+BOOLEAN\r
+XenHvmloaderDetected (\r
+ VOID\r
+ )\r
+{\r
+ return (mXenHvmloaderInfo != NULL);\r
+}\r
\r
VOID\r
XenPublishRamRegions (\r