]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/IndustryStandard/Xen/arch-x86/xen.h
OvmfPkg/Include/...Xen: Convert __i386__/__x86_64__ to MDE_CPU_IA32/MDE_CPU_X64.
[mirror_edk2.git] / OvmfPkg / Include / IndustryStandard / Xen / arch-x86 / xen.h
index 00ba175e1ec10a826000460a7e6244dcfc44c849..684ca688c09a29bf9425ae05eb213cc9f546323f 100644 (file)
@@ -59,9 +59,9 @@
 #endif\r
 #define set_xen_guest_handle(hnd, val) set_xen_guest_handle_raw(hnd, val)\r
 \r
-#if defined(__i386__)\r
+#if defined(MDE_CPU_IA32)\r
 #include "xen-x86_32.h"\r
-#elif defined(__x86_64__)\r
+#elif defined(MDE_CPU_X64)\r
 #include "xen-x86_64.h"\r
 #endif\r
 \r
@@ -82,7 +82,7 @@ typedef UINTN xen_ulong_t;
 \r
 typedef UINT64 tsc_timestamp_t; /* RDTSC timestamp */\r
 \r
-#ifdef __i386__\r
+#ifdef MDE_CPU_IA32\r
 #pragma pack(4)\r
 #endif\r
 struct arch_shared_info {\r
@@ -93,7 +93,7 @@ struct arch_shared_info {
     UINT64 pad[32];\r
 };\r
 typedef struct arch_shared_info arch_shared_info_t;\r
-#ifdef __i386__\r
+#ifdef MDE_CPU_IA32\r
 #pragma pack()\r
 #endif\r
 \r