Skip to content

Implement proper support for interrupt handling #6

@maxmitchelson

Description

@maxmitchelson

Currently, interrupts are not handled at all by the kernel, which sometimes results in freezes or crashes during testing. Uncaught exceptions result in fatal triple faults, and implementing support for x86-64 interrupts using the Interrupt Descriptor Table (IDT) and custom interrupt routines should avoid this behaviour.

It should also allow for a better logging/understanding of these exceptions.

Requirements:

  • Set up the required types and infrastructure for interacting with the IDT.
  • Implement Interrupt Service Routines (ISR) for all 21 interrupts, at least with some sort of logging, if not handling, of the associated error.

Useful resources

Metadata

Metadata

Assignees

Labels

CPUInterrupts, setting up registers, etc: interactions between the OS and the CPUfeatureNew features

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions