Kernel: Log time in addition to date in RTC startup

This commit is contained in:
Nico Weber 2020-08-20 10:39:34 -04:00 committed by Andreas Kling
parent 7903cfa5e4
commit 49d6405164
Notes: sideshowbarker 2024-07-19 03:23:42 +09:00

View file

@ -155,7 +155,7 @@ time_t now()
unsigned year, month, day, hour, minute, second;
read_registers(year, month, day, hour, minute, second);
klog() << "RTC: Year: " << year << ", month: " << month << ", day: " << day;
klog() << "RTC: Year: " << year << ", month: " << month << ", day: " << day << ", hour: " << hour << ", minute: " << minute << ", second: " << second;
ASSERT(year >= 2018);