summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/BuildToolError.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-04-20 12:34:54 +0200
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2019-04-23 18:15:00 +0200
commit2c0d39ac4704b76b7efb67b0aee23c2e78045cbc (patch)
treeadad51bf3ed89cb0e0440041ac12ad41dd99ae3c /BaseTools/Source/Python/Common/BuildToolError.py
parent40ffb6dc635d0848e6a1ed48b0819d2e5d177069 (diff)
downloadedk2-2c0d39ac4704b76b7efb67b0aee23c2e78045cbc.tar.gz
edk2-2c0d39ac4704b76b7efb67b0aee23c2e78045cbc.tar.bz2
edk2-2c0d39ac4704b76b7efb67b0aee23c2e78045cbc.zip
MdeModulePkg/DxeCapsuleLibFmp: clone ESRT for runtime access
The DxeCapsuleLibFmp code accesses the ESRT table to decide whether a certain capsule is an FMP capsule. Since the UEFI spec mandates that the ESRT resides in EfiBootServicesData memory, this results in problems at OS runtime, since the firmware implementation itself cannot access memory that has not been virtually remapped. So let's take a private copy of the ESRT at ReadyToBoot, and store it in EfiRuntimeServicesData memory. The ESRT's size is order 10s of bytes so the memory footprint is going to be negligigble. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/BuildToolError.py')
0 files changed, 0 insertions, 0 deletions