How jj0o0/miyara works
This is a WIP x86 kernel, with PS/2 keyboard and mouse input, event delivery, shell interaction, graphics/text output, interrupts, timers, and memory management represented in the tree. The visible input path decodes device data into events; the shell handles key events and writes through a graphic terminal. Several links are explicit in excerpts, but boot initialization and the routing from queued events to shell input are not shown, so they are omitted. The README documents no additional capabilities beyond its WIP status.
Main entry points: keyboard.c Keyboard · mouse.c Mouse · shell.c Shell · graphic_terminal.c Graphic Terminal
Components 19
Input and Events
- PS/2 Controller
kernel/io/ps2.c - Keyboard
kernel/keyboard/keyboard.c - Mouse
kernel/mouse/mouse.c - Event Queue
kernel/event/event.c - Key Translation
kernel/keyboard/keymap.c
Display
- Graphic Terminal
kernel/graphics/graphic_terminal.c - Renderer
kernel/graphics/renderer.c - Framebuffer
kernel/graphics/framebuffer.c - Text Terminal
kernel/terminal/terminal.c
Memory Management
- Virtual Memory
kernel/memory/paging.c - Physical Memory
kernel/memory/pmm.c - Heap
kernel/memory/heap.c - Memory Setup
kernel/memory/memory.c
Kernel Services
- Shell
kernel/shell/shell.c - Interrupt Tables
kernel/interrupt/idt/idt.c - IRQ Dispatch
kernel/interrupt/irq/irq.c - Timer
kernel/timer/timer.c - PIT
kernel/timer/pit.c - Logging
kernel/log/log.c
Connections 8
- Keyboard → PS/2 Controller: reads and configures
kernel/keyboard/keyboard.c - Keyboard → Event Queue: queues key events
kernel/keyboard/keyboard.c - Mouse → PS/2 Controller: reads and configures
kernel/mouse/mouse.c - Mouse → Event Queue: queues mouse events
kernel/mouse/mouse.c - Shell → Key Translation: translates keys
kernel/shell/shell.c - Shell → Graphic Terminal: writes and edits
kernel/shell/shell.c - Graphic Terminal → Renderer: draws through
kernel/graphics/graphic_terminal.c - Virtual Memory → Physical Memory: allocates pages
kernel/memory/paging.c