mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 19:16:02 +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: 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)
|
#if ARCH(X86_64)
|
||||||
return RTC::boot_time();
|
return RTC::boot_time();
|
||||||
#elif ARCH(AARCH64)
|
#elif ARCH(AARCH64)
|
||||||
TODO_AARCH64();
|
// FIXME: Return correct boot time
|
||||||
|
return Time::from_seconds(0);
|
||||||
#else
|
#else
|
||||||
# error Unknown architecture
|
# error Unknown architecture
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue