summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/DebugSupport
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-14 01:52:06 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-14 01:52:06 +0000
commita7bbc1eb5a3d21fa152f0c3f49ca6989172a28c3 (patch)
tree2d2db1e9879623b399660d25dbefdb4cf24a8527 /EdkModulePkg/Universal/DebugSupport
parent561e4a76570036d92841f0a613ef382304a2ee87 (diff)
downloadedk2-platforms-a7bbc1eb5a3d21fa152f0c3f49ca6989172a28c3.tar.xz
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
Diffstat (limited to 'EdkModulePkg/Universal/DebugSupport')
-rw-r--r--EdkModulePkg/Universal/DebugSupport/Dxe/ia32/AsmFuncs.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/EdkModulePkg/Universal/DebugSupport/Dxe/ia32/AsmFuncs.S b/EdkModulePkg/Universal/DebugSupport/Dxe/ia32/AsmFuncs.S
index fb81eccb4b..131464a3e8 100644
--- a/EdkModulePkg/Universal/DebugSupport/Dxe/ia32/AsmFuncs.S
+++ b/EdkModulePkg/Universal/DebugSupport/Dxe/ia32/AsmFuncs.S
@@ -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: