From 3aa04137560cad3e5ecf0a140f08f80f3ab1889b Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Fri, 19 Apr 2024 23:52:21 +0200 Subject: [PATCH] Use common routine to set runlevel --- xtoskrnl/ar/amd64/procsup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtoskrnl/ar/amd64/procsup.c b/xtoskrnl/ar/amd64/procsup.c index 0afde4d..bdd8752 100644 --- a/xtoskrnl/ar/amd64/procsup.c +++ b/xtoskrnl/ar/amd64/procsup.c @@ -56,7 +56,7 @@ ArInitializeProcessor(VOID) ArLoadTaskRegister((UINT)KGDT_SYS_TSS); /* Enter passive IRQ level */ - ArWriteControlRegister(8, PASSIVE_LEVEL); + HlSetRunLevel(PASSIVE_LEVEL); /* Initialize segment registers */ ArpInitializeSegments();