qemu_print

A Rust library to print strings to a console using QEMU's serial port support.

Usage

Add -serial stdio to the QEMU's command line parameters.

qemu-system-x86_64 -serial stdio /* other parameters... */

Invoke macros like as print! and println!.

```rust use qemuprint::qemuprintln;

qemu_println!("This string will be printed to the console.");

let x = 3; qemu_println!("x = {}", x); ```

Features

This crate has two features:

Enable one of these features. If both, or none of them are specified, this crate will emit a compile error.

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.