acrn-hypervisor/misc/efi-stub
Yifan Liu 701f6bf05d misc: efi-stub: Set MOR bit before jumping to hypervisor
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: #6097
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
2021-05-27 16:50:56 +08:00
..
Makefile efi-stub: add acrn efi application as an alternative bootloader for secure boot 2021-05-27 08:56:05 +08:00
MpService.h efi-stub: add acrn efi application as an alternative bootloader for secure boot 2021-05-27 08:56:05 +08:00
boot.c misc: efi-stub: Set MOR bit before jumping to hypervisor 2021-05-27 16:50:56 +08:00
boot.h misc: efi-stub: Set MOR bit before jumping to hypervisor 2021-05-27 16:50:56 +08:00
container.c efi-stub: add acrn efi application as an alternative bootloader for secure boot 2021-05-27 08:56:05 +08:00
container.h efi-stub: add acrn efi application as an alternative bootloader for secure boot 2021-05-27 08:56:05 +08:00
efilinux.h misc: efi-stub: Set MOR bit before jumping to hypervisor 2021-05-27 16:50:56 +08:00
malloc.c efi-stub: add acrn efi application as an alternative bootloader for secure boot 2021-05-27 08:56:05 +08:00
multiboot.h efi-stub: add acrn efi application as an alternative bootloader for secure boot 2021-05-27 08:56:05 +08:00
pe.c efi-stub: add acrn efi application as an alternative bootloader for secure boot 2021-05-27 08:56:05 +08:00
stdlib.h efi-stub: add acrn efi application as an alternative bootloader for secure boot 2021-05-27 08:56:05 +08:00