UefiCpuPkg/CpuExceptionHandlerLib: Trim white space at end of line
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com>
This commit is contained in:
@@ -29,8 +29,8 @@ ASM_GLOBAL ASM_PFX(CommonExceptionHandler)
|
||||
.text
|
||||
|
||||
#ifdef __APPLE__
|
||||
# macros are different between GNU and Xcode as.
|
||||
.macro IDT_MACRO
|
||||
# macros are different between GNU and Xcode as.
|
||||
.macro IDT_MACRO
|
||||
push $0
|
||||
#else
|
||||
.macro IDT_MACRO arg
|
||||
@@ -78,7 +78,7 @@ AsmIdtVectorEnd:
|
||||
HookAfterStubHeaderBegin:
|
||||
.byte 0x6a # push
|
||||
PatchVectorNum:
|
||||
.byte 0 # 0 will be fixed
|
||||
.byte 0 # 0 will be fixed
|
||||
.byte 0xe9 # jmp ASM_PFX(HookAfterStubHeaderEnd)
|
||||
PatchFuncAddress:
|
||||
.set HOOK_ADDRESS, ASM_PFX(HookAfterStubHeaderEnd) - . - 4
|
||||
@@ -234,16 +234,16 @@ CommonInterruptEntry_al_0000:
|
||||
movq %cr8, %rax
|
||||
pushq %rax
|
||||
movq %cr4, %rax
|
||||
orq $0x208, %rax
|
||||
movq %rax, %cr4
|
||||
orq $0x208, %rax
|
||||
movq %rax, %cr4
|
||||
pushq %rax
|
||||
mov %cr3, %rax
|
||||
mov %cr3, %rax
|
||||
pushq %rax
|
||||
mov %cr2, %rax
|
||||
mov %cr2, %rax
|
||||
pushq %rax
|
||||
xorq %rax, %rax
|
||||
pushq %rax
|
||||
mov %cr0, %rax
|
||||
mov %cr0, %rax
|
||||
pushq %rax
|
||||
|
||||
#; UINT64 Dr0, Dr1, Dr2, Dr3, Dr6, Dr7;
|
||||
@@ -278,7 +278,7 @@ CommonInterruptEntry_al_0000:
|
||||
# Per X64 calling convention, allocate maximum parameter stack space
|
||||
# and make sure RSP is 16-byte aligned
|
||||
#
|
||||
subq $40, %rsp
|
||||
subq $40, %rsp
|
||||
call ASM_PFX(CommonExceptionHandler)
|
||||
addq $40, %rsp
|
||||
|
||||
|
Reference in New Issue
Block a user