mirror of
https://github.com/acidanthera/audk.git
synced 2025-12-17 10:34:44 +01:00
UefiCpuPkg/CpuExceptionHandlerLib: fix push instructions
Nasm 3.0 complains about 'dword' being invalid. The comment talks about a '8-byte value' so 'qword' should be correct here. Fixes: https://github.com/tianocore/edk2/issues/11635 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
6c64f0c836
commit
c8c640f45e
@ -63,7 +63,7 @@ ALIGN 8
|
|||||||
AsmIdtVectorBegin:
|
AsmIdtVectorBegin:
|
||||||
%assign Vector 0
|
%assign Vector 0
|
||||||
%rep NUM_VECTORS
|
%rep NUM_VECTORS
|
||||||
push strict dword %[Vector] ; This instruction pushes sign-extended 8-byte value on stack
|
push strict qword %[Vector] ; This instruction pushes sign-extended 8-byte value on stack
|
||||||
push rax
|
push rax
|
||||||
; This code is not copied, thus relative addressing is safe.
|
; This code is not copied, thus relative addressing is safe.
|
||||||
lea rax, [ASM_PFX(CommonInterruptEntry)]
|
lea rax, [ASM_PFX(CommonInterruptEntry)]
|
||||||
@ -73,7 +73,7 @@ AsmIdtVectorBegin:
|
|||||||
AsmIdtVectorEnd:
|
AsmIdtVectorEnd:
|
||||||
|
|
||||||
HookAfterStubHeaderBegin:
|
HookAfterStubHeaderBegin:
|
||||||
push strict dword 0 ; 0 will be fixed
|
push strict qword 0 ; 0 will be fixed
|
||||||
VectorNum:
|
VectorNum:
|
||||||
push rax
|
push rax
|
||||||
; This code is copied, thus relative addressing would not be safe and we
|
; This code is copied, thus relative addressing would not be safe and we
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user