rust-kernel
Rustbelt: a hobby x86_64 kernel written in Rust
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 41 42 43 | //! The PC's side of the `arch` interface (see src/arch/mod.rs). Stage 22
//! adds no new code for x86_64: these are thin names for the pieces that
//! already exist elsewhere in src/, which stay exactly where they were.
/// Text out: COM1, the serial port (src/serial.rs).
/// GDT, IDT, the PICs, then `sti` (lib.rs's `init`).
/// The PIT tick count (src/interrupts.rs).
/// Paging: the bootloader turned it on; src/memory.rs takes over.
/// End the QEMU run: 0 -> exit code 33, anything else -> 35 (isa-debug-exit).
!
/// Stop this CPU for good.
!
|