]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix up the Stub Size Calculation which was not initially ported properly.
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 14 Jul 2006 01:52:06 +0000 (01:52 +0000)
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 14 Jul 2006 01:52:06 +0000 (01:52 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@994 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Universal/DebugSupport/Dxe/ia32/AsmFuncs.S

index fb81eccb4b40301a2677542755c95d6ba0c8c3ee..131464a3e8a947c42b8933cbec401a6318e10278 100644 (file)
@@ -23,8 +23,7 @@ _ExtraPush:      .long   0x33333333 # ?
 _ExceptData:     .long   0x44444444 # ?
 _Eflags:         .long   0x55555555 # ?
 _OrigVector:     .long   0x66666666 # ?
-_StubSize:       .long   0x0
-# StubSize:       .long   InterruptEntryStubEnd - InterruptEntryStub
+_StubSize:       .long   _InterruptEntryStubEnd - _InterruptEntryStub
 
 .global _FxStorSupport
 _FxStorSupport:
@@ -84,6 +83,8 @@ _InterruptEntryStub:
         mov    $0x0,%esp
         push   $0x0
         jmp    _CommonIdtEntry
+.global _InterruptEntryStubEnd
+_InterruptEntryStubEnd:
 
 .global _CommonIdtEntry
 _CommonIdtEntry: