Initialize handle table support and create system table

This commit is contained in:
2026-08-06 13:35:07 +02:00
parent d9a556e077
commit 0a66c8a3a3
2 changed files with 8 additions and 0 deletions

View File

@@ -1285,6 +1285,10 @@ OB::LifeCycle::InitializeObjectLifeCycle(VOID)
/* Clear tracking pointer */
RemoveObjectList = NULLPTR;
/* Create the kernel handle table and attach it to the current process */
KernelHandleTable = OB::HandleTable::CreateHandleTable(NULLPTR);
PS::Process::GetCurrentProcess()->ObjectTable = KernelHandleTable;
/* Initialize deferred removal work item */
EX::WorkItem::InitializeWorkItem(&RemoveObjectWorkItem, ProcessDeferredDeletionQueue, NULLPTR);
}