Age | Commit message (Collapse) | Author |
|
Maintaining correct dependencies for the panic function is too
complicated. It may be used very early, but would depend on the
console, which is normally available quite late during initialization.
Instead, the behavior of panic is now "best effort", i.e. if called at
a time where it works, good, otherwise, the behavior is undefined,
but should result in a freeze or a reset most of the time.
|
|
This commit merges the trap module into the cpu module in order to solve
interface problems caused by the degree to which those two modules are
actually coupled, i.e. it just makes a lot more sense to not separate
them at all.
The cpu module is also internally reworked with improved object and
method definitions, that clarify the double fault handling code,
among other things.
|
|
Use standard errno codes. This change also adds strerror to string.h.
|
|
|
|
|
|
|
|
|
|
|
|
APIC support needs to be improved before interrupts can be routed to any
processor.
|
|
This seems to be required for the AT keyboard.
|
|
|
|
|