1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! [A Minimal Rust Kernel]
//!
//! [a minimal rust kernel]: https://os.phil-opp.com/minimal-rust-kernel/
//!
//! # Examples
//!
//! ```sh
//! $ cargo xrun --target x86_64-os.json --example post02
//! Finished dev [unoptimized + debuginfo] target(s) in 0.00s
//! Running `bootimage runner target/x86_64-os/debug/examples/post02`
//! Building bootloader
//! Finished release [optimized + debuginfo] target(s) in 0.01s
//! Running: `qemu-system-x86_64 -drive format=raw,file=target/x86_64-os/debug/examples/bootimage-post02.bin`
//! VNC server running on ::1:5900
//! ```
use PanicInfo;
static HELLO: & = b"Hello World!";
pub extern "C" !
/// This function is called on panic.
!