EmulatorPkg/Win: Enable 64bit (SEC,PEI,DXE all run at 64bit)

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Cc: Andrew Fish <afish@apple.com>
This commit is contained in:
Ruiyu Ni 2018-08-24 13:16:57 +08:00
parent e3c96c391c
commit f89c018f3d
3 changed files with 3 additions and 7 deletions

View File

@ -22,11 +22,7 @@
PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D
PLATFORM_VERSION = 0.3
DSC_SPECIFICATION = 0x00010005
!if $(BUILD_32)
OUTPUT_DIRECTORY = Build/Emulator32
!else
OUTPUT_DIRECTORY = Build/Emulator
!endif
OUTPUT_DIRECTORY = Build/Emulator$(ARCH)
SUPPORTED_ARCHITECTURES = X64|IA32
BUILD_TARGETS = DEBUG|RELEASE

View File

@ -24,7 +24,7 @@ typedef struct {
BOOLEAN Readonly;
HANDLE NtHandle;
UINTN BlockSize;
UINT32 BlockSize;
EFI_BLOCK_IO_MEDIA *Media;
EMU_BLOCK_IO_PROTOCOL EmuBlockIo;

View File

@ -466,7 +466,7 @@ Returns:
SecPrint ("ERROR : Can not allocate enough space for SecStack\n");
exit (1);
}
SetMemN (TemporaryRam, TemporaryRamSize, PcdGet32 (PcdInitValueInTempStack));
SetMem32 (TemporaryRam, TemporaryRamSize, PcdGet32 (PcdInitValueInTempStack));
SecPrint (" OS Emulator passing in %u KB of temp RAM at 0x%08lx to SEC\n",
TemporaryRamSize / SIZE_1KB,