From a7bbc1eb5a3d21fa152f0c3f49ca6989172a28c3 Mon Sep 17 00:00:00 2001 From: bbahnsen Date: Fri, 14 Jul 2006 01:52:06 +0000 Subject: [PATCH] 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 --- EdkModulePkg/Universal/DebugSupport/Dxe/ia32/AsmFuncs.S | 5 +++-- 1 file 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: -- 2.39.2