mirror of
https://github.com/acidanthera/audk.git
synced 2025-12-16 10:04:46 +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:
|
||||
%assign Vector 0
|
||||
%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
|
||||
; This code is not copied, thus relative addressing is safe.
|
||||
lea rax, [ASM_PFX(CommonInterruptEntry)]
|
||||
@ -73,7 +73,7 @@ AsmIdtVectorBegin:
|
||||
AsmIdtVectorEnd:
|
||||
|
||||
HookAfterStubHeaderBegin:
|
||||
push strict dword 0 ; 0 will be fixed
|
||||
push strict qword 0 ; 0 will be fixed
|
||||
VectorNum:
|
||||
push rax
|
||||
; This code is copied, thus relative addressing would not be safe and we
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user