File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3636//!
3737//! ### AArch64
3838//!
39- //! Pass the `-semihosting` argument to the QEMU invocation, e.g.:
39+ //! Pass the `-semihosting` argument to the QEMU invocation, e.g.
40+ //!
4041//! ```
4142//! qemu-system-aarch64 -M raspi3 -serial stdio -semihosting -kernel kernel8.img
42- //!
4343//! ```
4444//!
4545//! ### AArch32
4646//!
47- //! Pass the `-semihosting` argument to the QEMU invocation, e.g.:
47+ //! Pass the `-semihosting` argument to the QEMU invocation, e.g.
48+ //!
4849//! ```
4950//! qemu-system-arm -m 16M -nographic -M mps2-an500 -cpu cortex-m7 -serial mon:stdio -semihosting -kernel kernel.img
50- //!
5151//! ```
5252//!
5353//! ### RISCV64
5454//!
5555//! You need to chose a machine with the `sifive_test` device, for exemple `-M virt`:
56+ //!
5657//! ```
5758//! qemu-system-riscv64 -M virt -nographic -monitor none -serial stdio -kernel kernel.elf
5859//! ```
5960//!
6061//! ### x86_64
6162//!
6263//! Add the special ISA debug exit device by passing the flags:
64+ //!
6365//! ```
6466//! -device isa-debug-exit,iobase=0xf4,iosize=0x04
6567//! ```
Original file line number Diff line number Diff line change 66
77use core:: arch:: global_asm;
88
9- global_asm ! (
10- include_str!( "./startup.S" )
11- ) ;
9+ global_asm ! ( include_str!( "./startup.S" ) ) ;
1210
1311#[ no_mangle]
1412extern "C" fn entry ( ) {
You can’t perform that action at this time.
0 commit comments