]> git.proxmox.com Git - mirror_edk2.git/commit - EmulatorPkg/Win/Host/WinHost.c
EmulatorPkg: Add persistent memory in EmuThunkPpi
authorLiu, Zhiguang <Zhiguang.Liu@intel.com>
Tue, 6 Dec 2022 05:40:52 +0000 (13:40 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 8 Dec 2022 10:44:20 +0000 (10:44 +0000)
commit22f73b6d2d3dfb70a13a184a2d0d26ed650e6ab9
treef0bbf76eb133fbde1b07187f0d68f2bf71c64e87
parent1c75bf3c21da79b1bc1d50cfc593b57f73f2c560
EmulatorPkg: Add persistent memory in EmuThunkPpi

The persistent memory is for PEIM to use, and won't lose during cold
or warm reset. PcdPersistentMemorySize is only used by WinHost.c,
other modules can check the persistent memory size using the field
PersistentMemorySize.

Cc: Andrew Fish <afish@apple.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
EmulatorPkg/EmulatorPkg.dec
EmulatorPkg/Include/Ppi/EmuThunk.h
EmulatorPkg/Unix/Host/Host.c
EmulatorPkg/Unix/Host/Host.inf
EmulatorPkg/Win/Host/WinHost.c
EmulatorPkg/Win/Host/WinHost.inf