Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hruivo/zig-x86-baremetal
Barebones x86 kernel written in Zig.
https://github.com/hruivo/zig-x86-baremetal
baremetal freestanding zig
Last synced: 19 days ago
JSON representation
Barebones x86 kernel written in Zig.
- Host: GitHub
- URL: https://github.com/hruivo/zig-x86-baremetal
- Owner: HRuivo
- License: mit
- Created: 2024-09-15T13:45:23.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-15T16:53:25.000Z (2 months ago)
- Last Synced: 2024-10-10T22:20:35.518Z (about 1 month ago)
- Topics: baremetal, freestanding, zig
- Language: Zig
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zig-x86-baremetal
Barebones x86 kernel written in [Zig](http://ziglang.org) with a custom build system to run in Qemu.Heavily based on the amazing Austin Hanson article. [Bare Metal Zig](https://austinhanson.com/bare-metal-ziglang/)
## 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
```