How alexdev8930/noviumos works
Novium is a small, hobby x86 operating system. Its principal runtime path is boot handoff into kernel initialization, followed by memory setup and task startup; kernel tasks then interact through IPC, while console and keyboard drivers provide basic input/output. The README also documents interrupt handling, timer, scheduler, and memory-management capabilities. The filesystem is explicitly described as early stubs. Several implementation relationships are omitted where the supplied excerpts do not show the calls.
Main entry points: main.c Kernel startup · keyboard.c Keyboard driver · hw_init.c Hardware init · ps2.c PS/2 input
Components 19
Boot and kernel
- Hardware init
arch/x86_32/boot/hw_init.c - Kernel startup
init/main.c
Hardware drivers
- IRQ handling
arch/x86_32/kernel/irq.c - PIT timer
arch/x86_32/kernel/pit.c - Keyboard driver
drivers/input/keyboard.c - PS/2 input
drivers/input/ps2.c - VGA console
drivers/video/vga_console.c - Framebuffer
drivers/video/framebuffer.c
Memory management
- Virtual memory
mm/paging.c - Page allocator
mm/page_alloc.c - Kernel heap
mm/heap.c
Tasks and IPC
- Task scheduler
kernel/sched.c - Message ports
ipc/message.c - IPC wait queues
ipc/ipc.c - Semaphores and mutexes
ipc/sync.c
Filesystem stubs
- Initrd
fs/initrd.c - Virtual filesystem
fs/vfs.c
Other components
- GRUB
- Bootstrap setup
Connections 10
- GRUB → Bootstrap setup: loads kernel
- Bootstrap setup → Hardware init: calls
- Kernel startup → VGA console: prints console output
init/main.c - Kernel startup → Virtual memory: initializes
init/main.c - Kernel startup → Page allocator: checks free pages
init/main.c - Kernel startup → Kernel heap: allocates and frees
init/main.c - Kernel startup → Task scheduler: creates and yields tasks
init/main.c - Kernel startup → Message ports: tests message passing
init/main.c - Kernel startup → Semaphores and mutexes: tests synchronization
init/main.c - Keyboard driver → PS/2 input: reads scancodes
drivers/input/keyboard.c