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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user