aboutsummaryrefslogtreecommitdiff
path: root/mirai/drivers/drivers.zig
AgeCommit message (Collapse)AuthorFilesLines
2026-03-27Refactor and implement interrupt handling and PIT driverBobby1-0/+1
- Refactored CPU context structure for better readability. - Enhanced corpse and exception structures with clearer formatting. - Improved frame structure for consistency. - Added interrupt flag operations for enabling and disabling interrupts. - Implemented IDT (Interrupt Descriptor Table) operations including loading and setting gates. - Created PIC (Programmable Interrupt Controller) initialization and masking functions. - Developed PIT (Programmable Interval Timer) driver with initialization and handler functions. - Established common interrupt handler structure and exception handling stubs. - Added hardware IRQ handling for IRQs 0-15. - Introduced IDT entry and gate descriptor types for better organization. - Ensured proper handling of interrupt and exception vectors.
2026-02-25feat: Add common constants, errors, and serial driver functionalityBobby1-0/+3