https://github.com/compeydev/kernelz
A simple test kernel I made in rust for no reason at all
https://github.com/compeydev/kernelz
Last synced: 8 months ago
JSON representation
A simple test kernel I made in rust for no reason at all
- Host: GitHub
- URL: https://github.com/compeydev/kernelz
- Owner: CompeyDev
- License: gpl-3.0
- Created: 2023-05-16T07:16:24.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T11:45:33.000Z (about 2 years ago)
- Last Synced: 2025-10-10T10:24:43.726Z (9 months ago)
- Language: Rust
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# kernelz
A simple kernel written in Rust, which prints the classic "Hello, world!" onto the VGA buffer.
## Running & Development
In order to actually run the kernel, first make sure you have the following prerequisites installed:
- qemu
- virt-manager
- virt-view
- dnsmasq
- vde2
- bridge-utils
- openbsd-netcat
On an arch-based system, they can be installed using pacman as such:
```
sudo pacman -S qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat
```
---
Once installed, simply run the kernel using `cargo run`. To build the kernel, run `cargo build`, which will produce a compiled kernel
that can be located `./target/target/$RELEASE_TYPE/bootimage-kernelz.bin`, where `RELEASE_TYPE` is either debug or release based on the
type compiled using cargo.