summaryrefslogtreecommitdiff
path: root/kernel
AgeCommit message (Collapse)Author
2024-09-01Move almost all the kernel into crates/.Nathan Ringo
2024-08-31Adds a static assertion.Nathan Ringo
2024-08-27The start of the buddy allocator.Nathan Ringo
2024-08-27Adds a free-list for physical memory.Nathan Ringo
2024-08-26Refactor DeviceTree parsing.Nathan Ringo
2024-08-26The start of interrupt and timer support, with some DeviceTree parsing.Nathan Ringo
2024-08-25Adds a basic DeviceTree reader.Nathan Ringo
2024-08-03uncommitted changes...Nathan Ringo
2024-02-25[console] Adds a "strict flush" routine.Nathan Ringo
When this routine is set by the platform-specific code, it is run after every log message. This is a permanently temporary measure to make it easier to debug boot problems with the kernel when bringing it up on a new platform.
2024-02-25[console] Adds the start of a console subsystem to handle kernel logs.Nathan Ringo
The idea is that this is an output-only facility that log messages from the log crate are written to. It has a small buffer, and relies on a log destination regularly reading from the buffer. In the next commit, platform-specific code will be able to provide a "strict flush" routine, which runs after every write to the buffer and drains the buffer. This is mainly to help kernel development, where it's not assured that the kernel will even get as far in boot as initializing its allocator. Eventually, there will be a console fd that userspace can request, wait on, and read from.
2024-02-24Initial commitNathan Ringo