File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 9
9
//!
10
10
//! ## TL;DR
11
11
//!
12
- //! ```rust
12
+ //! ```ignore
13
13
//! use qemu_exit::QEMUExit;
14
14
//!
15
15
//! #[cfg(target_arch = "aarch64")]
38
38
//!
39
39
//! Pass the `-semihosting` argument to the QEMU invocation, e.g.
40
40
//!
41
- //! ```
41
+ //! ```bash
42
42
//! qemu-system-aarch64 -M raspi3 -serial stdio -semihosting -kernel kernel8.img
43
43
//! ```
44
44
//!
45
45
//! ### AArch32
46
46
//!
47
47
//! Pass the `-semihosting` argument to the QEMU invocation, e.g.
48
48
//!
49
- //! ```
49
+ //! ```bash
50
50
//! qemu-system-arm -m 16M -nographic -M mps2-an500 -cpu cortex-m7 -serial mon:stdio -semihosting -kernel kernel.img
51
51
//! ```
52
52
//!
53
53
//! ### RISCV64
54
54
//!
55
55
//! You need to chose a machine with the `sifive_test` device, for exemple `-M virt`:
56
56
//!
57
- //! ```
57
+ //! ```bash
58
58
//! qemu-system-riscv64 -M virt -nographic -monitor none -serial stdio -kernel kernel.elf
59
59
//! ```
60
60
//!
61
61
//! ### x86_64
62
62
//!
63
63
//! Add the special ISA debug exit device by passing the flags:
64
64
//!
65
- //! ```
65
+ //! ```bash
66
66
//! -device isa-debug-exit,iobase=0xf4,iosize=0x04
67
67
//! ```
68
68
//!
73
73
//! binary-OR'ed with `0x1`. This is hardcoded and therefore, with `isa-debug-exit`, it is not
74
74
//! possible to let QEMU invoke `exit(0)`.
75
75
//!
76
- //! ```rust
76
+ //! ```ignore
77
77
//! let qemu_exit_handle = qemu_exit::X86::new(io_base, custom_exit_success);
78
78
//! ```
79
79
//!
You can’t perform that action at this time.
0 commit comments