audk/EmulatorPkg/Win/Host
Ni, Ray a121165e35 EmulatorPkg/WinHost: XIP for SEC and PEI_CORE
In EmulatorPkg/Win, SEC and PEI_CORE are loaded to memory allocated
through VirtualAlloc. Though the corresponding DLL files are loaded
and the entry points in DLL files are executed. The loading to memory
allocated through VirtualAlloc is for the case when the DLL files can
not be loaded.

Actually some PEIMs like PcdPeim which are loaded before
"physical" RAM is discovered, they are executing in the original
location (FV) like XIP module in real platform.

The SEC and PEI_CORE can follow the same mechanism.
So, the VirtualAlloc call is removed.

This is to prepare the "reset" support to avoid additional OS memory
consumption when reset happens.

Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Andrew Fish <afish@apple.com
2022-12-05 05:35:41 +00:00
..
WinBlockIo.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
WinFileSystem.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
WinGop.h EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
WinGopInput.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
WinGopScreen.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
WinHost.c EmulatorPkg/WinHost: XIP for SEC and PEI_CORE 2022-12-05 05:35:41 +00:00
WinHost.h EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
WinHost.inf EmulatorPkg/Win/Host: Update CC_FLAGS 2021-11-29 05:44:34 +00:00
WinInclude.h EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
WinMemoryAllocationLib.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
WinPacketFilter.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
WinThunk.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00