summaryrefslogtreecommitdiff
path: root/kern/intr.c
AgeCommit message (Collapse)Author
2018-07-10kern/panic: remove initialization operationRichard Braun
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.
2018-07-07x86: refactor interrupt/exception handlingRichard Braun
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.
2018-02-24New errno.h standard headerRichard Braun
Use standard errno codes. This change also adds strerror to string.h.
2017-09-06Use new thread_check_intr_context function consistentlyRichard Braun
2017-07-13Switch to initialization operationsRichard Braun
2017-06-25Use the C11 alignas and noreturn macrosRichard Braun
2017-06-24Move the INTR_TABLE_SIZE macro to the x86/trap moduleRichard Braun
2017-06-10Use log functions where appropriateRichard Braun
2017-05-28kern/intr: route all interrupts to BSPRichard Braun
APIC support needs to be improved before interrupts can be routed to any processor.
2017-05-28kern/intr: send EOI after interrupt handlingRichard Braun
This seems to be required for the AT keyboard.
2017-05-28kern/intr: gracefully handle spurious interruptsRichard Braun
2017-05-26kern/intr: new moduleRichard Braun