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 fb81ecc..131464a 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: