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 */
|
/* Clear tracking pointer */
|
||||||
RemoveObjectList = NULLPTR;
|
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 */
|
/* Initialize deferred removal work item */
|
||||||
EX::WorkItem::InitializeWorkItem(&RemoveObjectWorkItem, ProcessDeferredDeletionQueue, NULLPTR);
|
EX::WorkItem::InitializeWorkItem(&RemoveObjectWorkItem, ProcessDeferredDeletionQueue, NULLPTR);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,9 +78,13 @@ OB::Manager::InitializeObjectManager(VOID)
|
|||||||
/* Initialize system lookaside list for BSP */
|
/* Initialize system lookaside list for BSP */
|
||||||
InitializeSystemLookasideList();
|
InitializeSystemLookasideList();
|
||||||
|
|
||||||
|
/* Initialize handle table support */
|
||||||
|
OB::HandleTable::InitializeHandleTable();
|
||||||
|
|
||||||
/* Initialize device map support */
|
/* Initialize device map support */
|
||||||
OB::DeviceMap::InitializeDeviceMap();
|
OB::DeviceMap::InitializeDeviceMap();
|
||||||
|
|
||||||
|
/* Initialize object life cycle support */
|
||||||
OB::LifeCycle::InitializeObjectLifeCycle();
|
OB::LifeCycle::InitializeObjectLifeCycle();
|
||||||
|
|
||||||
/* Initialize object type registry */
|
/* Initialize object type registry */
|
||||||
|
|||||||
Reference in New Issue
Block a user