mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:37:34 +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
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