4252bc247d
This patch sets the MemoryOverwriteRequestControl (MORCtrl for short) EFI variable before jumping to hypervisor. Setting variable MemoryOverwriteRequestControlLock (MORCtrlLock for short) can also be enabled by manually adding -DMORCTRL_LOCK_ENABLED to CFLAGS. Setting MORCtrl indicates to the platform firmware that memory be cleared upon system reset. Setting MORCtrlLock for the first time will render both MORCtrl and MORCtrlLock to read-only, until next reset. Tracked-On: #6241 Signed-off-by: Yifan Liu <yifan1.liu@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
boot.c | ||
boot.h | ||
container.c | ||
container.h | ||
efilinux.h | ||
elf32.c | ||
elf32.h | ||
malloc.c | ||
multiboot.c | ||
multiboot.h | ||
pe.c | ||
stdlib.h |