vasilisalmpanis/kfs
A Mimimalistic UNIX-like kernel written in Zig
A minimalistic kernel written in Zig.
kfs-1
kfs-2
kfs-3
kfs-4
kfs-5
kfs-6
kfs-7
kfs-8
kfs-9
kfs-x
KFS is a small, experimental kernel written in the Zig programming language. It is designed to run on x86 architectures and features fundamental low-level components required for an operating system.
To build and run KFS, you need the following:
You can build the project using make
:
make
This will:
zig build
.iso/boot/
.kfs.iso
using grub-mkrescue
.To remove compiled files, use:
make clean
Run the kernel in QEMU using:
make qemu
For starting gdb session, use:
make debug
kfs/
│── src/ # Source code
│── iso/ # Bootable ISO-related files
│── build.zig # Zig build script
│── linker.ld # Linker script
│── Makefile # Makefile for building ISO
│── README.md # Project documentation
│── Memory.md # Details on memory management
│── .gitignore # Git ignore file
Contributions are welcome! If you want to contribute:
This project is licensed under MIT License.