Dedicated Idle process and thread initialization with dynamic affinity allocation
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 49s
Builds / ExectOS (amd64, debug) (push) Successful in 52s
Builds / ExectOS (i686, debug) (push) Successful in 47s
Builds / ExectOS (i686, release) (push) Successful in 44s

This commit is contained in:
2026-06-04 11:23:47 +02:00
parent 34aba8c7c7
commit c8029ea77c
7 changed files with 184 additions and 47 deletions

View File

@@ -478,8 +478,8 @@ typedef struct _KPROCESS
ULONG_PTR DirectoryTable[2];
USHORT IopmOffset;
UCHAR Iopl;
KAFFINITY_MAP Affinity;
VOLATILE KAFFINITY_MAP ActiveProcessors;
PKAFFINITY_MAP Affinity;
PKAFFINITY_MAP ActiveProcessors;
ULONG KernelTime;
ULONG UserTime;
LIST_ENTRY ReadyListHead;
@@ -603,9 +603,9 @@ typedef struct _KTHREAD
CHAR PreviousMode;
UCHAR ResourceIndex;
UCHAR DisableBoost;
KAFFINITY_MAP UserAffinity;
PKAFFINITY_MAP UserAffinity;
PKPROCESS Process;
KAFFINITY_MAP Affinity;
PKAFFINITY_MAP Affinity;
PVOID ServiceTable;
PKAPC_STATE ApcStatePointer[2];
KAPC_STATE SavedApcState;