More correct implementation of the KDPC structure.
This commit is contained in:
parent
44e9bca20e
commit
b31e36c6dd
|
@ -704,8 +704,8 @@ typedef VOID (*PKDEFERRED_ROUTINE)
|
||||||
typedef struct _KDPC
|
typedef struct _KDPC
|
||||||
{
|
{
|
||||||
CSHORT Type; // 0x00
|
CSHORT Type; // 0x00
|
||||||
UCHAR Number; // 0x02
|
BOOLEAN Inserted; // 0x02
|
||||||
UCHAR Importance; // 0x03
|
BYTE Padding; // 0x03
|
||||||
LIST_ENTRY DpcListEntry; // 0x04
|
LIST_ENTRY DpcListEntry; // 0x04
|
||||||
PKDEFERRED_ROUTINE DeferredRoutine; // 0x0C
|
PKDEFERRED_ROUTINE DeferredRoutine; // 0x0C
|
||||||
PVOID DeferredContext;
|
PVOID DeferredContext;
|
||||||
|
|
|
@ -1766,10 +1766,10 @@ XBSYSAPI EXPORTNUM(107) VOID NTAPI xboxkrnl::KeInitializeDpc
|
||||||
GetCurrentThreadId(), Dpc, DeferredRoutine, DeferredContext);
|
GetCurrentThreadId(), Dpc, DeferredRoutine, DeferredContext);
|
||||||
|
|
||||||
// inialize Dpc field values
|
// inialize Dpc field values
|
||||||
Dpc->Number = 0;
|
|
||||||
Dpc->DeferredRoutine = DeferredRoutine;
|
Dpc->DeferredRoutine = DeferredRoutine;
|
||||||
Dpc->Type = DpcObject;
|
Dpc->Type = DpcObject;
|
||||||
Dpc->DeferredContext = DeferredContext;
|
Dpc->DeferredContext = DeferredContext;
|
||||||
|
Dpc->Inserted = FALSE;
|
||||||
|
|
||||||
EmuSwapFS(); // Xbox FS
|
EmuSwapFS(); // Xbox FS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue