Skip to content

Commit 188a52d

Browse files
FireFox317IdanHo
authored andcommitted
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.
1 parent 1c2dbed commit 188a52d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Kernel/Time/TimeManagement.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ Time TimeManagement::boot_time()
231231
#if ARCH(X86_64)
232232
return RTC::boot_time();
233233
#elif ARCH(AARCH64)
234-
TODO_AARCH64();
234+
// FIXME: Return correct boot time
235+
return Time::from_seconds(0);
235236
#else
236237
# error Unknown architecture
237238
#endif

0 commit comments

Comments
 (0)