Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
12 changes: 6 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//!
//! ## TL;DR
//!
//! ```rust
//! ```ignore
//! use qemu_exit::QEMUExit;
//!
//! #[cfg(target_arch = "aarch64")]
Expand Down Expand Up @@ -38,31 +38,31 @@
//!
//! Pass the `-semihosting` argument to the QEMU invocation, e.g.
//!
//! ```
//! ```bash
//! qemu-system-aarch64 -M raspi3 -serial stdio -semihosting -kernel kernel8.img
//! ```
//!
//! ### AArch32
//!
//! Pass the `-semihosting` argument to the QEMU invocation, e.g.
//!
//! ```
//! ```bash
//! qemu-system-arm -m 16M -nographic -M mps2-an500 -cpu cortex-m7 -serial mon:stdio -semihosting -kernel kernel.img
//! ```
//!
//! ### RISCV64
//!
//! You need to chose a machine with the `sifive_test` device, for exemple `-M virt`:
//!
//! ```
//! ```bash
//! qemu-system-riscv64 -M virt -nographic -monitor none -serial stdio -kernel kernel.elf
//! ```
//!
//! ### x86_64
//!
//! Add the special ISA debug exit device by passing the flags:
//!
//! ```
//! ```bash
//! -device isa-debug-exit,iobase=0xf4,iosize=0x04
//! ```
//!
Expand All @@ -73,7 +73,7 @@
//! binary-OR'ed with `0x1`. This is hardcoded and therefore, with `isa-debug-exit`, it is not
//! possible to let QEMU invoke `exit(0)`.
//!
//! ```rust
//! ```ignore
//! let qemu_exit_handle = qemu_exit::X86::new(io_base, custom_exit_success);
//! ```
//!
Expand Down