Skip to content

hermit-os/no_std

Repository files navigation

no_std

The kernel feature no_std allows you to boot HermitOS without std. Please not, the kernel interface is not stable and is under active development! Only std provides an stable interface to the kernel.

Requirements

Building the kernel

cargo build

Booting the kernel

Boot kernel with cargo run or download the hermit-loader-x86_64 and use following command:

qemu-system-x86_64 -display none -serial stdio -kernel hermit-loader-x86_64 -cpu Skylake-Client -device isa-debug-exit,iobase=0xf4,iosize=0x04 -smp 1 -m 512M -netdev user,id=u1,hostfwd=tcp::9975-:9975,hostfwd=udp::9975-:9975,net=192.168.76.0/24,dhcpstart=192.168.76.9 -device virtio-net-pci,netdev=u1,disable-legacy=on -initrd target/x86_64-unknown-none/debug/no_std

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

The kernel is being developed on hermit-os/kernel. Create your own fork, send us a pull request, and chat with us on Zulip.

Releases

No releases published

Packages

No packages published

Languages