https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b1a9e72e923b3157646ba56f520ab9f45c73b5a1

commit b1a9e72e923b3157646ba56f520ab9f45c73b5a1
Author:     Timo Kreuzer <timo.kreu...@reactos.org>
AuthorDate: Thu Nov 23 22:21:01 2023 +0200
Commit:     Timo Kreuzer <timo.kreu...@reactos.org>
CommitDate: Fri Dec 8 20:16:51 2023 +0200

    [NTOS:KE/x64] Do not call HalInitSystem from application processors
---
 ntoskrnl/ke/amd64/krnlinit.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/ntoskrnl/ke/amd64/krnlinit.c b/ntoskrnl/ke/amd64/krnlinit.c
index 9391219c25b..4327cd1aa7e 100644
--- a/ntoskrnl/ke/amd64/krnlinit.c
+++ b/ntoskrnl/ke/amd64/krnlinit.c
@@ -179,13 +179,6 @@ KiSystemStartupBootStack(VOID)
     {
         /* Initialize the startup thread */
         KiInitializeHandBuiltThread(Thread, Process, KernelStack);
-
-        /* Initialize cpu with HAL */
-        if (!HalInitSystem(0, LoaderBlock))
-        {
-            /* Initialization failed */
-            KeBugCheck(HAL_INITIALIZATION_FAILED);
-        }
     }
 
     /* Calculate the CPU frequency */

Reply via email to