aboutsummaryrefslogtreecommitdiff
path: root/mirai/drivers/serial/serial.zig
AgeCommit message (Collapse)AuthorFilesLines
2026-02-25Add Global Descriptor Table (GDT) and Task State Segment (TSS) implementationBobby1-4/+1
- Introduced GDT constants, including selectors, access rights, and flags. - Created GDT entry structures for kernel and user segments, along with TSS descriptors. - Implemented GDT initialization and loading functions. - Developed boot sequence phases for CPU and memory initialization. - Added boot information structure to manage memory regions and kernel details. - Implemented TSS management, including core-specific TSS setup and stack allocation. - Established state management for boot sequence phases and TSS.
2026-02-25feat: Add common constants, errors, and serial driver functionalityBobby1-0/+13
2026-02-24Bunch of stuff moved as .old for new arch changeBobby1-175/+0
2026-02-24commit for arch changeBobby1-3/+3
2026-02-23feat: Enhance Kata state management with new states and deferred cleanup for ↵Bobby1-2/+51
page tables
2026-02-15Add drivers and constants for ATA, AHCI, PCI, Keyboard, Serial, and VGABobby1-0/+126
- Introduced ATA constants and limits for commands, status registers, and device signatures. - Added keyboard constants and limits for scancodes and buffer size. - Implemented PCI configuration constants and limits for device enumeration. - Created I/O port constants for serial communication and keyboard interaction. - Developed AHCI driver for SATA devices, including port operations and command handling. - Implemented ATA PIO block device driver for reading sectors. - Added PS/2 keyboard driver with scancode handling and input buffering. - Created serial port driver for outputting data and formatted printing. - Developed VGA text mode driver for character display and screen management.