Rename initial stack reserve macro to KTHREAD_STACK_OFFSET

This commit is contained in:
2026-05-22 19:21:28 +02:00
parent 9ac64605d3
commit 6b689baa7a
5 changed files with 5 additions and 5 deletions

View File

@@ -174,7 +174,7 @@ HL::Cpu::StartAllProcessors(VOID)
StartBlock->Cr3 = AR::CpuFunctions::ReadControlRegister(3);
StartBlock->Cr4 = AR::CpuFunctions::ReadControlRegister(4);
StartBlock->EntryPoint = (PVOID)&KE::KernelInit::BootstrapApplicationProcessor;
StartBlock->InitialStack = (PVOID)((ULONG_PTR)StartBlock->Stack - KTHREAD_STACK_INITIAL_RESERVE);
StartBlock->InitialStack = (PVOID)((ULONG_PTR)StartBlock->Stack - KTHREAD_STACK_OFFSET);
StartBlock->ProcessorStructures = CpuStructures;
StartBlock->Started = FALSE;