summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/plDebugSupport.h
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-04-11 03:15:15 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-04-11 03:15:15 +0000
commit735561c27f91ea1a729492d17dd0efbf021645b0 (patch)
tree48c264e1d0dd0f5b97e6ce79d74113484e7e24d1 /EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/plDebugSupport.h
parent7e9f4e1d8e0b0d145c3a91fdbfb349adb5f084e0 (diff)
downloadedk2-platforms-735561c27f91ea1a729492d17dd0efbf021645b0.tar.xz
Allocate memory in DebugSupport beforehand, in order to avoid calling memory allocation services in high TPL level.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2556 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/plDebugSupport.h')
-rw-r--r--EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/plDebugSupport.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/plDebugSupport.h b/EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/plDebugSupport.h
index cb1a6c7c82..ce8a3fedae 100644
--- a/EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/plDebugSupport.h
+++ b/EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/plDebugSupport.h
@@ -28,11 +28,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
typedef UINT64 DESCRIPTOR;
+typedef
+VOID
+(*DEBUG_PROC) (
+ VOID
+ )
+;
+
typedef struct {
DESCRIPTOR OrigDesc;
- VOID (*OrigVector) (VOID);
+ DEBUG_PROC OrigVector;
DESCRIPTOR NewDesc;
- VOID (*StubEntry) (VOID);
+ DEBUG_PROC StubEntry;
VOID (*RegisteredCallback) ();
} IDT_ENTRY;