summaryrefslogtreecommitdiff
path: root/Kernel/Arch
AgeCommit message (Collapse)Author
2019-07-09Kernel: Move VirtualAddress.h into VM/Andreas Kling
2019-07-09Kernel: Move i8253.cpp => Arch/i386/PIT.cppAndreas Kling
2019-07-09Kernel: Move PIC.cpp into Arch/i386/Andreas Kling
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-30Kernel: Make more crash info show up in dmesg.Andreas Kling
kprintf() shows up in dmesg, dbgprintf() does not.
2019-06-26Kernel: Make the x86 paging code slightly less insane.Andreas Kling
Instead of PDE's and PTE's being weird wrappers around dword*, just have MemoryManager::ensure_pte() return a PageDirectoryEntry&, which in turn has a PageTableEntry* entries(). I've been trying to understand how things ended up this way, and I suspect it was because I inadvertently invoked the PageDirectoryEntry copy ctor in the original work on this, which must have made me very confused.. Anyways, now things are a bit saner and we can move forward towards a better future, etc. :^)
2019-06-25Kernel: Share code between all the exceptions that cause process crash.Andreas Kling
2019-06-19Kernel+LibC: Make page fault crashes a bit more readable.Andreas Kling
We'll now try to detect crashes that were due to dereferencing nullptr, uninitialized malloc() memory, or recently free()'d memory. It's not perfect but I think it's pretty good. :^) Also added some color to the most important parts of the crash log, and added some more modes to /bin/crash for exercising this code. Fixes #243.
2019-06-19Kernel: Symbolicate the crash address too, not just the call stack.Andreas Kling
Also print it in shiny red to make it extra easy to spot. :^) Fixes #244.
2019-06-07Kernel: Move i386.{cpp,h} => Arch/i386/CPU.{cpp,h}Andreas Kling
There's a ton of work that would need to be done before we could spin up on another architecture, but let's at least try to separate things out a bit.