diff options
author | Richard Lyu <richard.lyu@suse.com> | 2025-03-17 13:38:15 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-04-09 16:32:30 +0000 |
commit | 70df56728f71a906a54ac7c64081dbdcfa7bccc1 (patch) | |
tree | 2ab8703b1a959ec760c6c7a2ae4736d0021d150a /BaseTools/Source/Python/sitecustomize.py | |
parent | 4e4edd0f07720a3bac2c745b6f5a3edf9ae0de1b (diff) | |
download | edk2-70df56728f71a906a54ac7c64081dbdcfa7bccc1.zip edk2-70df56728f71a906a54ac7c64081dbdcfa7bccc1.tar.gz edk2-70df56728f71a906a54ac7c64081dbdcfa7bccc1.tar.bz2 |
Increase FVMAIN Size for Compatibility with 2MB Size Limit
In edk2-stable202502, the increase in code space caused an increase in
size, leading to build failures for OVMF under the 2MB size limit due
to insufficient space, because FVMAIN_COMPACT had insufficient space.
This patch adjusts the memory layout by reducing SEVFV size by 0x10000,
as its usage is below 50%, and reallocates the freed 0x10000 space to
FVMAIN_COMPACT. This ensures sufficient space to accommodate all code
within the FD_SIZE_2MB.
Signed-off-by: Richard Lyu <richard.lyu@suse.com>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions