Remove macro usage of EFI32, EFI64 in duet package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8100 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2009-04-16 06:27:51 +00:00
parent 6c8e40caa9
commit 72be1c7a37
4 changed files with 6 additions and 9 deletions

View File

@ -343,7 +343,7 @@ DumpExceptionDataDebugOut (
ErrorCodeFlag = 0x00027d00;
#ifdef EFI32
#ifdef MDE_CPU_IA32
DEBUG ((
EFI_D_ERROR,
"!!!! IA32 Exception Type - %08x !!!!\n",
@ -563,7 +563,7 @@ DumpExceptionDataVgaOut (
VideoBufferBase = (CHAR16 *) (UINTN) 0xb8000;
VideoBuffer = (CHAR16 *) (UINTN) 0xb8000;
#ifdef EFI32
#ifdef MDE_CPU_IA32
UnicodeSPrintAsciiFormat (
VideoBuffer,
COLUMN_MAX * sizeof (CHAR16),

View File

@ -191,7 +191,4 @@
[BuildOptions.common]
MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
MSFT:*_*_IA32_CC_FLAGS = /D EFI32
MSFT:*_*_X64_CC_FLAGS = /D EFIX64
MSFT:*_*_IPF_CC_FLAGS = /D EFI64

View File

@ -54,7 +54,7 @@
gTianoCustomDecompressGuid
[BuildOptions.common]
MSFT:*_*_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE
MSFT:*_*_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE
MSFT:*_*_IA32_PP_FLAGS == /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h
MSFT:*_*_IA32_ASM_FLAGS == /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
MSFT:*_*_IA32_ASMLINK_FLAGS == /link /nologo /tiny

View File

@ -618,19 +618,19 @@ EfiLdrPeCoffCheckImageMachineType (
Status = EFI_UNSUPPORTED;
#ifdef EFI32
#ifdef MDE_CPU_IA32
if (MachineType == EFI_IMAGE_MACHINE_IA32) {
Status = EFI_SUCCESS;
}
#endif
#ifdef EFIX64
#ifdef MDE_CPU_X64
if (MachineType == EFI_IMAGE_MACHINE_X64) {
Status = EFI_SUCCESS;
}
#endif
#ifdef EFI64
#ifdef MDE_CPU_IPF
if (MachineType == EFI_IMAGE_MACHINE_IA64) {
Status = EFI_SUCCESS;
}