summaryrefslogtreecommitdiff
path: root/Kernel/RTC.cpp
AgeCommit message (Collapse)Author
2020-04-08Kernel: Fix awkward RTC log message at bootAndreas Kling
2020-03-02Kernel: Use klog() instead of kprintf()Liav A
Also, duplicate data in dbg() and klog() calls were removed. In addition, leakage of virtual address to kernel log is prevented. This is done by replacing kprintf() calls to dbg() calls with the leaked data instead. Also, other kprintf() calls were replaced with klog().
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-09-28Kernel: Fix BIOS date/time on hardwareConrad Pankoff
It turns out some BIOS vendors don't support non-BCD date/time mode, but we were relying on it being available. We no longer do this, but instead check whether the BIOS claims to provide BCD or regular binary values for its date/time data.
2019-07-03AK: Rename the common integer typedefs to make it obvious what they are.Andreas Kling
These types can be picked up by including <AK/Types.h>: * u8, u16, u32, u64 (unsigned) * i8, i16, i32, i64 (signed)
2019-06-07Kernel: Qualify a bunch of #include statements.Andreas Kling
2019-06-07Kernel: Run clang-format on everything.Andreas Kling
2019-05-17Kernel/RTC: Mark some intentional fallthroughs to suppress compiler warningsRobin Burchell
2019-05-04Kernel: Computing the boot timestamp was a bit broken.Andreas Kling
2019-02-19Kernel: Fix wrong calculation of current Unix timestamp.Andreas Kling
2019-02-13WindowServer: Put a clock in the top right corner of the screen.Andreas Kling
This way we don't even need the Clock app anymore. Very cool :^)
2019-01-31Big, possibly complete sweep of naming changes.Andreas Kling
2018-10-31Add assertion that RTC year is >= 2018.Andreas Kling
2018-10-25Add gettimeofday() syscall and LibC wrappers gettimeofday() and time().Andreas Kling
This only has second accuracy right now, I'll work out subseconds later.