audk/UefiCpuPkg/Library/CpuExceptionHandlerLib
Zhiguang Liu 8a5782d704 UefiCpuPkg: Fix nasm warning "signed byte value exceeds"
Currently, "push byte %[Vector]" causes nasm warning when Vector is larger
than 0x7F. This is because push accepts a signed value, and byte means
signed int8. Maximum signed int8 is 0x7F.
When Vector is larger the 0x7F, for example, when Vector is 255, byte 255
turns to -1, and causes the warning "signed byte value exceeds".
To avoid such warning, use dword instead of byte, this will increase 3 bytes
for each IdtVector.
For IA32, the size of IdtVector will increase from 10 bytes to 13 bytes.
For X64, the size of IdtVector will increase from 15 bytes to 18 bytes.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Debkumar De <debkumar.de@intel.com>
Cc: Harry Han <harry.han@intel.com>
Cc: Catharine West <catharine.west@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
2022-07-25 02:18:26 +00:00
..
Ia32 UefiCpuPkg: Fix nasm warning "signed byte value exceeds" 2022-07-25 02:18:26 +00:00
X64 UefiCpuPkg: Fix nasm warning "signed byte value exceeds" 2022-07-25 02:18:26 +00:00
CpuExceptionCommon.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuExceptionCommon.h UefiCpuPkg: Fix nasm warning "signed byte value exceeds" 2022-07-25 02:18:26 +00:00
DxeCpuExceptionHandlerLib.inf UefiCpuPkg/CpuExceptionHandlerLib: Clear CET shadow stack token busy bit 2021-03-02 05:11:55 +00:00
DxeCpuExceptionHandlerLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
DxeException.c CpuException: Add InitializeSeparateExceptionStacks 2022-06-10 07:54:48 +00:00
PeiCpuException.c CpuException: Add InitializeSeparateExceptionStacks 2022-06-10 07:54:48 +00:00
PeiCpuExceptionHandlerLib.inf UefiCpuPkg/CpuExceptionHandlerLib: Clear CET shadow stack token busy bit 2021-03-02 05:11:55 +00:00
PeiCpuExceptionHandlerLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PeiDxeSmmCpuException.c CpuException: Remove InitializeCpuInterruptHandlers 2022-06-10 07:54:48 +00:00
SecPeiCpuException.c CpuException: Add InitializeSeparateExceptionStacks 2022-06-10 07:54:48 +00:00
SecPeiCpuExceptionHandlerLib.inf UefiCpuPkg/CpuExceptionHandlerLib: Clear CET shadow stack token busy bit 2021-03-02 05:11:55 +00:00
SecPeiCpuExceptionHandlerLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
SmmCpuExceptionHandlerLib.inf UefiCpuPkg/CpuExceptionHandlerLib: Clear CET shadow stack token busy bit 2021-03-02 05:11:55 +00:00
SmmCpuExceptionHandlerLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
SmmException.c CpuException: Add InitializeSeparateExceptionStacks 2022-06-10 07:54:48 +00:00
Xcode5SecPeiCpuExceptionHandlerLib.inf UefiCpuPkg/CpuExceptionHandlerLib: Clear CET shadow stack token busy bit 2021-03-02 05:11:55 +00:00
Xcode5SecPeiCpuExceptionHandlerLib.uni UefiCpuPkg/CpuExceptionHandler: Make XCODE5 changes toolchain specific 2020-05-11 19:25:33 +00:00