A simple kernel. Porting to Zig 0.14 in progress.
Find a file
ED 995268b04e Added GDT, IDT, IRQ, updated build.zig
Added new build.zig


Interrupts no work :(


Added isr


Interrupts work


Added spurious irq


Code review comments


New name


Refactor


Build asm
2019-05-31 07:41:28 +01:00
grub Start using the zig build system 2019-05-03 23:35:00 +01:00
src Added GDT, IDT, IRQ, updated build.zig 2019-05-31 07:41:28 +01:00
test/kernel Add TTY and VGA interface 2019-05-22 20:12:46 +01:00
.gitignore Start using the zig build system 2019-05-03 23:35:00 +01:00
build.zig Added GDT, IDT, IRQ, updated build.zig 2019-05-31 07:41:28 +01:00
link.ld Add higher half support in linker script 2019-04-19 21:11:14 +01:00
README.md Start using the zig build system 2019-05-03 23:35:00 +01:00

Pluto

Build

Requires xorriso and the grub tools (such as grub-mkrescue).

mkdir -p bin/kernel
mkdir -p bin/iso/boot/grub
zig build

Note that the mkdir invocations are only needed once. See zig build --help for a list of options.

Run

zig build run

To debug the kernel:

zig build run -Ddebug=true
zig build debug

Test

zig build test