crosvm/tools/examples/baremetal
Dennis Kempin 1dab58a2cf Update all copyright headers to match new style
This search/replace updates all copyright notices to drop the
"All rights reserved", Use "ChromiumOS" instead of "Chromium OS"
and drops the trailing dots.

This fulfills the request from legal and unifies our notices.

./tools/health-check has been updated to only accept this style.

BUG=b:246579983
TEST=./tools/health-check

Change-Id: I87a80701dc651f1baf4820e5cc42469d7c5f5bf7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3894243
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2022-09-13 18:41:29 +00:00
..
.cargo crosvm: add example rust baremetal app that can be booted with crosvm 2022-05-10 23:36:47 +00:00
src Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
build.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
Cargo.toml crosvm: add example rust baremetal app that can be booted with crosvm 2022-05-10 23:36:47 +00:00
layout.ld examples/baremetal: make paddr == vaddr 2022-06-23 22:30:39 +00:00
README.md crosvm: add example rust baremetal app that can be booted with crosvm 2022-05-10 23:36:47 +00:00
rust-toolchain crosvm: add example rust baremetal app that can be booted with crosvm 2022-05-10 23:36:47 +00:00
x86_64-naked.json crosvm: add example rust baremetal app that can be booted with crosvm 2022-05-10 23:36:47 +00:00

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.