OvmfPkg/Include/...Xen: Convert __i386__/__x86_64__ to MDE_CPU_IA32/MDE_CPU_X64.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16293 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Anthony PERARD
2014-10-31 21:25:11 +00:00
committed by jljusten
parent d8cfdb5fb1
commit 8f148aee19
6 changed files with 14 additions and 11 deletions

View File

@@ -59,9 +59,9 @@
#endif
#define set_xen_guest_handle(hnd, val) set_xen_guest_handle_raw(hnd, val)
#if defined(__i386__)
#if defined(MDE_CPU_IA32)
#include "xen-x86_32.h"
#elif defined(__x86_64__)
#elif defined(MDE_CPU_X64)
#include "xen-x86_64.h"
#endif
@@ -82,7 +82,7 @@ typedef UINTN xen_ulong_t;
typedef UINT64 tsc_timestamp_t; /* RDTSC timestamp */
#ifdef __i386__
#ifdef MDE_CPU_IA32
#pragma pack(4)
#endif
struct arch_shared_info {
@@ -93,7 +93,7 @@ struct arch_shared_info {
UINT64 pad[32];
};
typedef struct arch_shared_info arch_shared_info_t;
#ifdef __i386__
#ifdef MDE_CPU_IA32
#pragma pack()
#endif