More correct implementation of the KDPC structure.

This commit is contained in:
Echelon9 2012-12-01 00:41:01 +11:00
parent 44e9bca20e
commit b31e36c6dd
2 changed files with 3 additions and 3 deletions

View File

@ -704,8 +704,8 @@ typedef VOID (*PKDEFERRED_ROUTINE)
typedef struct _KDPC
{
CSHORT Type; // 0x00
UCHAR Number; // 0x02
UCHAR Importance; // 0x03
BOOLEAN Inserted; // 0x02
BYTE Padding; // 0x03
LIST_ENTRY DpcListEntry; // 0x04
PKDEFERRED_ROUTINE DeferredRoutine; // 0x0C
PVOID DeferredContext;

View File

@ -1766,10 +1766,10 @@ XBSYSAPI EXPORTNUM(107) VOID NTAPI xboxkrnl::KeInitializeDpc
GetCurrentThreadId(), Dpc, DeferredRoutine, DeferredContext);
// inialize Dpc field values
Dpc->Number = 0;
Dpc->DeferredRoutine = DeferredRoutine;
Dpc->Type = DpcObject;
Dpc->DeferredContext = DeferredContext;
Dpc->Inserted = FALSE;
EmuSwapFS(); // Xbox FS