summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc/CodeFragment.py
diff options
context:
space:
mode:
authorLendacky, Thomas <thomas.lendacky@amd.com>2020-05-07 08:06:48 -0500
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-05-11 19:25:33 +0000
commitec94e97a6eb10a880722fdbab0bd991a0bce8608 (patch)
tree14cc22e1285356197b7ca1ac650fbdb70f717c32 /BaseTools/Source/Python/Ecc/CodeFragment.py
parentc8543b8d830d22882dab4ece47f0413f9c6eb431 (diff)
downloadedk2-ec94e97a6eb10a880722fdbab0bd991a0bce8608.tar.gz
edk2-ec94e97a6eb10a880722fdbab0bd991a0bce8608.tar.bz2
edk2-ec94e97a6eb10a880722fdbab0bd991a0bce8608.zip
UefiCpuPkg/CpuExceptionHandler: Make XCODE5 changes toolchain specific
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2340 Commit 2db0ccc2d7fe ("UefiCpuPkg: Update CpuExceptionHandlerLib pass XCODE5 tool chain") introduced binary patching into the exception handling support. CPU exception handling is allowed during SEC and this results in binary patching of flash, which should not be done. Separate the changes from commit 2db0ccc2d7fe into an XCODE5 toolchain specific file, Xcode5ExceptionHandlerAsm.nasm, and create a new SEC INF file for the XCODE5 version of CpuExceptionHandlerLib. Since binary patching is allowed when running outside of flash, switch the Dxe, Pei and Smm versions of the CpuExceptionHandlerLib over to use the Xcode5ExceptionHandlerAsm.nasm file to retain current functionality. Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Message-Id: <9075570487616c731033a5738f6a444a15d71b74.1588856809.git.thomas.lendacky@amd.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/CodeFragment.py')
0 files changed, 0 insertions, 0 deletions