Skip to content

Barebones x86 kernel written in Zig.

License

Notifications You must be signed in to change notification settings

HRuivo/zig-x86-baremetal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-x86-baremetal

Barebones x86 kernel written in Zig with a custom build system to run in Qemu.

Heavily based on the amazing Austin Hanson article. Bare Metal Zig

Zig Version

zig 0.14.0

Build and run

To build the kernel:

zig build-exe src/freestanding.zig -target x86-freestanding -T linker.ld

You can run the kernel with Qemu:

qemu-system-x86_64 -kernel kernel

About

Barebones x86 kernel written in Zig.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages