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>
PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D\r
PLATFORM_VERSION = 0.3\r
DSC_SPECIFICATION = 0x00010005\r
-!if $(BUILD_32)\r
- OUTPUT_DIRECTORY = Build/Emulator32\r
-!else\r
- OUTPUT_DIRECTORY = Build/Emulator\r
-!endif\r
+ OUTPUT_DIRECTORY = Build/Emulator$(ARCH)\r
\r
SUPPORTED_ARCHITECTURES = X64|IA32\r
BUILD_TARGETS = DEBUG|RELEASE\r
BOOLEAN Readonly;\r
\r
HANDLE NtHandle;\r
- UINTN BlockSize;\r
+ UINT32 BlockSize;\r
\r
EFI_BLOCK_IO_MEDIA *Media;\r
EMU_BLOCK_IO_PROTOCOL EmuBlockIo;\r
SecPrint ("ERROR : Can not allocate enough space for SecStack\n");\r
exit (1);\r
}\r
- SetMemN (TemporaryRam, TemporaryRamSize, PcdGet32 (PcdInitValueInTempStack));\r
+ SetMem32 (TemporaryRam, TemporaryRamSize, PcdGet32 (PcdInitValueInTempStack));\r
\r
SecPrint (" OS Emulator passing in %u KB of temp RAM at 0x%08lx to SEC\n",\r
TemporaryRamSize / SIZE_1KB,\r