audk/OvmfPkg/RiscVVirt
Sunil V L f80f052277 OvmfPkg/RiscVVirt: Add Stack HOB
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4350

Currently, stack HOB is not created for the stack memory. This causes
stack memory to be treated as free memory and any memory allocation which
happens at this address causes random memory corruption. Fix this by
creating the stack HOB which marks the memory as BS data.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Andrei Warkentin <andrei.warkentin@intel.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reported-by: Andrei Warkentin <andrei.warkentin@intel.com>
Tested-by: Andrei Warkentin <andrei.warkentin@intel.com>
Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com>
2023-03-01 15:08:07 +00:00
..
Library OvmfPkg/RiscVVirt: Add VirtNorFlashPlatformLib library 2023-02-16 05:53:28 +00:00
PciCpuIo2Dxe OvmfPkg/RiscVVirt: Add PciCpuIo2Dxe module 2023-02-16 05:53:28 +00:00
Sec OvmfPkg/RiscVVirt: Add Stack HOB 2023-03-01 15:08:07 +00:00
RiscVVirt.dsc.inc OvmfPkg/RiscVVirt: Add build files for Qemu Virt platform 2023-02-16 05:53:28 +00:00
RiscVVirt.fdf.inc OvmfPkg/RiscVVirt: Add build files for Qemu Virt platform 2023-02-16 05:53:28 +00:00
RiscVVirtQemu.dsc OvmfPkg/RiscVVirt: Add build files for Qemu Virt platform 2023-02-16 05:53:28 +00:00
RiscVVirtQemu.fdf OvmfPkg/RiscVVirt: Add build files for Qemu Virt platform 2023-02-16 05:53:28 +00:00
VarStore.fdf.inc OvmfPkg/RiscVVirt: Add build files for Qemu Virt platform 2023-02-16 05:53:28 +00:00