summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2023-04-01 02:53:52 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2023-04-06 21:19:58 +0300
commit188a52db01eed9a5e169eb61ca35fc82f2142cf1 (patch)
tree8691d54ee0156eb6ea5ad1513ba4b3055b0dee39
parent1c2dbed38a498111a564dc77c027a0fbf3886d0d (diff)
downloadserenity-188a52db01eed9a5e169eb61ca35fc82f2142cf1.zip
Kernel: Implement TimeManagement::boot_time() for aarch64
For now just return 0 as we have no RTC support on aarch64 yet, and add a FIXME to return the correct value.
-rw-r--r--Kernel/Time/TimeManagement.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Time/TimeManagement.cpp b/Kernel/Time/TimeManagement.cpp
index 49e257c660..7dd87343f7 100644
--- a/Kernel/Time/TimeManagement.cpp
+++ b/Kernel/Time/TimeManagement.cpp
@@ -231,7 +231,8 @@ Time TimeManagement::boot_time()
#if ARCH(X86_64)
return RTC::boot_time();
#elif ARCH(AARCH64)
- TODO_AARCH64();
+ // FIXME: Return correct boot time
+ return Time::from_seconds(0);
#else
# error Unknown architecture
#endif