audk/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64
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
..
ArchExceptionHandler.c UefiCpuPkg: Add ExceptionHandlerData for ArchRestoreExceptionContext() 2016-12-01 16:03:16 +08:00
ArchInterruptDefs.h 1. Separated DxeSmmCpuExceptionHandlerLib.inf into 2 instance DxeCpuExceptionHandlerLib.inf and SmmCpuExceptionHandlerLib.inf. 2013-11-22 06:24:41 +00:00
ExceptionHandlerAsm.S UefiCpuPkg/ExceptionHandlerAsm.S: Fix code length issue with GCC 5.4 2017-02-22 09:50:04 +08:00
ExceptionHandlerAsm.asm UefiCpuPkg: CpuExceptionHandlerLib: Make self modifying code work with Xcode 2014-09-09 06:50:51 +00:00
ExceptionHandlerAsm.nasm UefiCpuPkg CpuExceptionHandlerLib:Convert X64/ExceptionHandlerAsm.asm to NASM 2016-06-28 09:52:10 +08:00