diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-08-24 13:16:57 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-08-31 10:40:13 +0800 |
commit | f89c018f3dec056e28d38686ba0778597227949e (patch) | |
tree | 213de5d6054480b9cd9ea985e503af1b13fe29d8 /EmulatorPkg/Win | |
parent | e3c96c391c5e76274a0b4e4d052f5062187f00d3 (diff) | |
download | edk2-f89c018f3dec056e28d38686ba0778597227949e.tar.gz |
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>
Diffstat (limited to 'EmulatorPkg/Win')
-rw-r--r-- | EmulatorPkg/Win/Host/WinBlockIo.c | 2 | ||||
-rw-r--r-- | EmulatorPkg/Win/Host/WinHost.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/EmulatorPkg/Win/Host/WinBlockIo.c b/EmulatorPkg/Win/Host/WinBlockIo.c index d5944c4227..bae907c705 100644 --- a/EmulatorPkg/Win/Host/WinBlockIo.c +++ b/EmulatorPkg/Win/Host/WinBlockIo.c @@ -24,7 +24,7 @@ typedef struct { BOOLEAN Readonly;
HANDLE NtHandle;
- UINTN BlockSize;
+ UINT32 BlockSize;
EFI_BLOCK_IO_MEDIA *Media;
EMU_BLOCK_IO_PROTOCOL EmuBlockIo;
diff --git a/EmulatorPkg/Win/Host/WinHost.c b/EmulatorPkg/Win/Host/WinHost.c index 0cf02044c2..9b98d5330f 100644 --- a/EmulatorPkg/Win/Host/WinHost.c +++ b/EmulatorPkg/Win/Host/WinHost.c @@ -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,
|