audk/UefiCpuPkg/Library/CpuExceptionHandlerLib
Jeff Fan b9d56d0b93 UefiCpuPkg/ExceptionHandlerAsm.S: Fix code length issue with GCC 5.4
X64\ExceptionHandlerAsm.S define MARCO to set up 32 IDT entries header.
It assume GCC compiler will generate the same code length on the following
instrction for each IDT entry.
  jmp    ASM_PFX(CommonInterruptEntry)

It works with GCC 4.x. However, GCC 5.4 will generate different code size of IDT
entry code per the offset value from CommonInterruptEntry address. We should use
DB to make sure each IDT entry header has the same size whatever compiler
version.

.ASM and .nasm used the different solution and do not have this issue.

https://bugzilla.tianocore.org/show_bug.cgi?id=389

Cc: Liming Gao <liming.gao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2017-02-22 09:50:04 +08:00
..
Ia32 UefiCpuPkg: Add ExceptionHandlerData for ArchRestoreExceptionContext() 2016-12-01 16:03:16 +08:00
X64 UefiCpuPkg/ExceptionHandlerAsm.S: Fix code length issue with GCC 5.4 2017-02-22 09:50:04 +08:00
CpuExceptionCommon.c UefiCpuPkg/CpuExceptionHandlerLib: remove un-used mReservedVectors 2016-12-01 16:03:20 +08:00
CpuExceptionCommon.h UefiCpuPkg/CpuExceptionHandlerLib: remove un-used mReservedVectors 2016-12-01 16:03:20 +08:00
DxeCpuExceptionHandlerLib.inf UefiCpuPkg CpuExceptionHandlerLib: Add nasm source files into INF files. 2016-06-28 09:52:10 +08:00
DxeCpuExceptionHandlerLib.uni UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
DxeException.c UefiCpuPkg/ExceptionLib: Move global variable location 2016-06-01 15:31:58 +08:00
PeiCpuException.c UefiCpuPkg/ExceptionLib: Import PeiCpuExceptionHandlerLib module 2016-06-01 15:36:14 +08:00
PeiCpuExceptionHandlerLib.inf UefiCpuPkg PeiCpuExceptionHandlerLib: Add the missing nasm files in INF 2016-11-03 10:28:40 +08:00
PeiCpuExceptionHandlerLib.uni UefiCpuPkg/ExceptionLib: Import PeiCpuExceptionHandlerLib module 2016-06-01 15:36:14 +08:00
PeiDxeSmmCpuException.c UefiCpuPkg: Add ExceptionHandlerData for ArchRestoreExceptionContext() 2016-12-01 16:03:16 +08:00
SecPeiCpuException.c
SecPeiCpuExceptionHandlerLib.inf UefiCpuPkg CpuExceptionHandlerLib: Add nasm source files into INF files. 2016-06-28 09:52:10 +08:00
SecPeiCpuExceptionHandlerLib.uni UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
SmmCpuExceptionHandlerLib.inf UefiCpuPkg CpuExceptionHandlerLib: Add nasm source files into INF files. 2016-06-28 09:52:10 +08:00
SmmCpuExceptionHandlerLib.uni UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
SmmException.c UefiCpuPkg/ExceptionLib: Move global variable location 2016-06-01 15:31:58 +08:00