mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
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.
This commit is contained in:
parent
1c2dbed38a
commit
188a52db01
Notes:
sideshowbarker
2024-07-17 05:09:48 +09:00
Author: https://github.com/FireFox317 Commit: https://github.com/SerenityOS/serenity/commit/188a52db01 Pull-request: https://github.com/SerenityOS/serenity/pull/18149 Reviewed-by: https://github.com/IdanHo ✅
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue