This version is not the most recent. For the most up to date version view this project on gitlab
The most advanced operating system ever.
-
Your rust configuration needs to be set to nightly to do this run
rustup default nightly
-
The required crates and components can be installed by running
cargo install bootimage cargo-xbuild && rustup component add rust-src
- run
build.sh
- to compile with default parameters
bootimage run
-
compile the kernel by running
bootimage build --target x86_64-tuxen_os.json
on a linux machine -
Run the kernel in QEMU using the command
qemu-system-x86_64 -drive format=raw,file=target/x86_64-tuxen_os/debug/bootimage-TuxenOS.bin
- you can also add
-serial mon:stdio
to see what is passed to the serial ports - for exiting the argument
-device isa-debug-exit,iobase=0xf4,iosize=0x04
is required
- you can also add
-
Run
cargo clean
before pushing to clear out clutter
-
To run integration tests.
bootimage test
-
To run the unit tests.
cargo test