**/ \r
\r
#include "AcpiPlatform.h"\r
-#include <Library/HobLib.h>\r
-#include <Guid/XenInfo.h>\r
#include <Library/BaseLib.h>\r
\r
#define XEN_ACPI_PHYSICAL_ADDRESS 0x000EA020\r
\r
EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER *XenAcpiRsdpStructurePtr = NULL;\r
\r
-/**\r
- This function detects if OVMF is running on Xen.\r
-\r
-**/\r
-BOOLEAN\r
-XenDetected (\r
- VOID\r
- )\r
-{\r
- EFI_HOB_GUID_TYPE *GuidHob;\r
-\r
- //\r
- // See if a XenInfo HOB is available\r
- //\r
- GuidHob = GetFirstGuidHob (&gEfiXenInfoGuid);\r
- if (GuidHob == NULL) {\r
- return FALSE;\r
- }\r
-\r
- return TRUE;\r
-}\r
-\r
/**\r
Get the address of Xen ACPI Root System Description Pointer (RSDP)\r
structure.\r