This section documents the Valecium kernel implementation by subsystem. Each page below corresponds to a directory under kernel/ in the source tree and provides a brief overview of responsibilities and key components.

Kernel Subsystems

  • arch.ad — Architecture-specific boot, CPU, and memory implementations (i686 only)

  • cpu.ad — Process model, scheduler, fork/exec

  • drivers.ad — Hardware device drivers (ATA, FDC, keyboard, TTY)

  • fs.ad — Filesystem stack (VFS, FAT12/16/32, devfs, disk/partition abstractions)

  • hal.ad — Hardware abstraction layer interface and operation tables

  • init.ad — Kernel startup flow and handoff logic

  • mem.ad — PMM, VMM, kernel heap, process heap, stack management

  • signal.ad — Signal handling infrastructure (in progress)

  • std.ad — Kernel-local libc-style utility implementations

  • sys.ad — System services, ELF loader, command line, kernel modules

  • syscall.ad — Syscall dispatch and handlers

  • crypto.ad — Cryptographic algorithm implementations (MD5, SHA1)

Navigation Notes

  • Start with init.ad for boot order and subsystem initialization sequence.

  • Read hal.ad and arch.ad together to understand portability boundaries.

  • Link this section with Userspace Documentation to follow kernel ↔ userspace interactions.

Revision History

v2.0

Updated to reflect v0.28: added crypto subsystem entry, updated all subsystem descriptions with details, added crypto.ad reference

v1.0

Initial kernel index and subsystem link map