moving kernel code to kernel/

This commit is contained in:
2026-07-05 10:19:11 +01:00
parent 7c3cffb337
commit 6f6ccc8bc9
37 changed files with 63 additions and 61 deletions
+7 -5
View File
@@ -2,10 +2,12 @@
Codename: Shodan
Version: 1
A small x86-64 operating system kernel, written from scratch in Zig. It boots via
UEFI, and so far has a framebuffer console, a physical frame allocator, its own
paging with W^X permissions, interrupt/exception handling, a LAPIC timer, and a
kernel heap. See [`docs/`](docs/README.md) for how each piece works.
A small operating system, written from scratch in Zig — a bootloader (`src/boot/`)
and a microkernel (`src/kernel/`), sharing a neutral handoff contract (`src/root.zig`).
It boots x86-64 via UEFI, and so far has a framebuffer console, a physical frame
allocator, its own paging with W^X permissions, interrupt/exception handling, a
LAPIC timer, a kernel heap, a fixed-priority preemptive scheduler, and in-kernel IPC
channels. See [`docs/`](docs/README.md) for how each piece works.
## Prerequisites
@@ -29,7 +31,7 @@ zig build
```
Produces the UEFI bootloader (`zig-out/bin/BOOTX64.efi`) and the kernel ELF
(`zig-out/bin/danos`).
(`zig-out/bin/kernel`).
## Run