mirror of https://github.com/acidanthera/audk.git
Fix up the Stub Size Calculation which was not initially ported properly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@994 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
561e4a7657
commit
a7bbc1eb5a
|
@ -23,8 +23,7 @@ _ExtraPush: .long 0x33333333 # ?
|
||||||
_ExceptData: .long 0x44444444 # ?
|
_ExceptData: .long 0x44444444 # ?
|
||||||
_Eflags: .long 0x55555555 # ?
|
_Eflags: .long 0x55555555 # ?
|
||||||
_OrigVector: .long 0x66666666 # ?
|
_OrigVector: .long 0x66666666 # ?
|
||||||
_StubSize: .long 0x0
|
_StubSize: .long _InterruptEntryStubEnd - _InterruptEntryStub
|
||||||
# StubSize: .long InterruptEntryStubEnd - InterruptEntryStub
|
|
||||||
|
|
||||||
.global _FxStorSupport
|
.global _FxStorSupport
|
||||||
_FxStorSupport:
|
_FxStorSupport:
|
||||||
|
@ -84,6 +83,8 @@ _InterruptEntryStub:
|
||||||
mov $0x0,%esp
|
mov $0x0,%esp
|
||||||
push $0x0
|
push $0x0
|
||||||
jmp _CommonIdtEntry
|
jmp _CommonIdtEntry
|
||||||
|
.global _InterruptEntryStubEnd
|
||||||
|
_InterruptEntryStubEnd:
|
||||||
|
|
||||||
.global _CommonIdtEntry
|
.global _CommonIdtEntry
|
||||||
_CommonIdtEntry:
|
_CommonIdtEntry:
|
||||||
|
|
Loading…
Reference in New Issue