1. Use Mde library for Debug Port Module
2. Minimum changed for Debug Support Module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7153 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
#include "DebugSupport.h"
|
||||
#include "PlDebugSupport.h"
|
||||
|
||||
IA32_IDT_GATE_DESCRIPTOR NullDesc = {{0,0}};
|
||||
|
||||
@@ -30,7 +30,12 @@ GetInterruptHandleFromIdt (
|
||||
)
|
||||
{
|
||||
UINTN InterruptHandle;
|
||||
|
||||
|
||||
//
|
||||
// InterruptHandle 0-15 : OffsetLow
|
||||
// InterruptHandle 16-31 : OffsetHigh
|
||||
// InterruptHandle 32-63 : OffsetUpper
|
||||
//
|
||||
((UINT16 *) &InterruptHandle)[0] = (UINT16) IdtGateDecriptor->Bits.OffsetLow;
|
||||
((UINT16 *) &InterruptHandle)[1] = (UINT16) IdtGateDecriptor->Bits.OffsetHigh;
|
||||
((UINT32 *) &InterruptHandle)[1] = (UINT32) IdtGateDecriptor->Bits.OffsetUpper;
|
||||
@@ -136,6 +141,6 @@ ManageIdtEntryTable (
|
||||
HookEntry (ExceptionType, NewCallback);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user