forked from xt-sys/exectos
Initialize handle table support and create system table
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -78,9 +78,13 @@ OB::Manager::InitializeObjectManager(VOID)
|
||||
/* Initialize system lookaside list for BSP */
|
||||
InitializeSystemLookasideList();
|
||||
|
||||
/* Initialize handle table support */
|
||||
OB::HandleTable::InitializeHandleTable();
|
||||
|
||||
/* Initialize device map support */
|
||||
OB::DeviceMap::InitializeDeviceMap();
|
||||
|
||||
/* Initialize object life cycle support */
|
||||
OB::LifeCycle::InitializeObjectLifeCycle();
|
||||
|
||||
/* Initialize object type registry */
|
||||
|
||||
Reference in New Issue
Block a user