diff options
author | Sunil V L <sunilvl@ventanamicro.com> | 2023-02-25 13:32:00 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-03-01 15:08:07 +0000 |
commit | f80f052277c88a67c55e107b550f504eeea947d3 (patch) | |
tree | 8b988eda43211402f27d82fb57f56a2abbd7360a /edksetup.sh | |
parent | 1eeca0750af5af2f0e78437bf791ac2de74bde74 (diff) | |
download | edk2-stable202302.tar.gz |
OvmfPkg/RiscVVirt: Add Stack HOBedk2-stable202302
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>
Diffstat (limited to 'edksetup.sh')
0 files changed, 0 insertions, 0 deletions