summaryrefslogtreecommitdiff
path: root/kernel/src/arch/x86_64/schedule_timer.cpp
diff options
context:
space:
mode:
authorcpplover0 <osdev555@yandex.com>2026-03-28 20:53:13 +0300
committercpplover0 <osdev555@yandex.com>2026-03-28 20:53:13 +0300
commitbe997311c240f49db247ccce05ecb8ea5d3bfc31 (patch)
treee5a7e4e97d58eae7417fb71c68f99d81d1ee630c /kernel/src/arch/x86_64/schedule_timer.cpp
parenta66cd5681ab96d66259275f04bbdd2b44fc1d7c4 (diff)
evdev support, vfs, tmpfs
Diffstat (limited to 'kernel/src/arch/x86_64/schedule_timer.cpp')
-rw-r--r--kernel/src/arch/x86_64/schedule_timer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/src/arch/x86_64/schedule_timer.cpp b/kernel/src/arch/x86_64/schedule_timer.cpp
index 97882c7..60bb649 100644
--- a/kernel/src/arch/x86_64/schedule_timer.cpp
+++ b/kernel/src/arch/x86_64/schedule_timer.cpp
@@ -35,12 +35,12 @@ void x86_64::schedule_timer::off() {
std::uint32_t timeout = 10;
- klibc::printf("Poweroff: Waiting for all cpus to done work\r\n"); // used from poweroff so
+ log("poweroff", "waiting for all cpus to done work"); // used from poweroff so
while(stfu_cpus != (std::int32_t)(mp::cpu_count() - 1)) {
arch::memory_barrier();
if(--timeout == 0) {
- klibc::printf("Poweroff: Can't wait longer, forching them to be disabled\r\n");
+ log("poweroff", "poweroff: Can't wait longer, forcing them to be disabled");
x86_64::lapic::off();
return;
}