Refactor kernel to use MM namespace for memory management
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 31s
Builds / ExectOS (amd64, release) (push) Successful in 28s
Builds / ExectOS (i686, debug) (push) Successful in 31s
Builds / ExectOS (i686, release) (push) Successful in 29s

This commit is contained in:
2025-09-15 22:26:52 +02:00
parent 52c4d2a346
commit e3898f28fc
4 changed files with 21 additions and 21 deletions

View File

@@ -54,7 +54,7 @@ KE::KernelInit::InitializeMachine(VOID)
HL::Cpu::InitializeProcessor();
/* Initialize page map support */
MmInitializePageMapSupport();
MM::Paging::InitializePageMapSupport();
}
/**

View File

@@ -54,7 +54,7 @@ KE::KernelInit::InitializeMachine(VOID)
HL::Cpu::InitializeProcessor();
/* Initialize page map support */
MmInitializePageMapSupport();
MM::Paging::InitializePageMapSupport();
}
/**

View File

@@ -152,7 +152,7 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
if(!Stack)
{
/* Allocate new stack */
Status = MmAllocateKernelStack(&Stack, FALSE, 0);
Status = MM::KernelPool::AllocateKernelStack(&Stack, FALSE, 0);
if(Status != STATUS_SUCCESS || !Stack)
{
/* Stack allocation failed */
@@ -178,7 +178,7 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
if(Allocation)
{
/* Deallocate stack */
MmFreeKernelStack(Stack, FALSE);
MM::KernelPool::FreeKernelStack(Stack, FALSE);
Thread->InitialStack = NULL;
Thread->StackBase = NULL;
}