Dennis Kempin 1dab58a2cf Update all copyright headers to match new style 2 years ago
..
.cargo a4cb63d7ce crosvm: add example rust baremetal app that can be booted with crosvm 2 years ago
src 1dab58a2cf Update all copyright headers to match new style 2 years ago
Cargo.toml a4cb63d7ce crosvm: add example rust baremetal app that can be booted with crosvm 2 years ago
README.md a4cb63d7ce crosvm: add example rust baremetal app that can be booted with crosvm 2 years ago
build.rs 1dab58a2cf Update all copyright headers to match new style 2 years ago
layout.ld bf7d3bd38f examples/baremetal: make paddr == vaddr 2 years ago
rust-toolchain a4cb63d7ce crosvm: add example rust baremetal app that can be booted with crosvm 2 years ago
x86_64-naked.json a4cb63d7ce crosvm: add example rust baremetal app that can be booted with crosvm 2 years ago

README.md

This is a small baremetal x86_64 application that can be booted with crosvm. You can simply do cargo run and it'll build it and use crosvm from PATH to launch it. Alternatively you can build it with cargo build and run with crosvm run --disable-sandbox path/to/target/x86_64-naked/debug/baremetal

The application does nothing but output Hello World! log line over serial port and go into infinite loop. This is expected and you'll need to kill crosvm to stop it.