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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | //! What differs from board to board, behind three small traits. The rest of
//! the arm64 code only talks to `board::current()`.
//!
//! - `virt`: QEMU's generic Arm board. Implemented and tested; addresses
//! come from its device tree, with the usual values as a fallback.
//! - `raspi3`: the Raspberry Pi 3 (BCM2837). A skeleton: the addresses are
//! written down, the drivers are TODO (see the README's Pi roadmap).
/// A serial port: one byte out.
/// An interrupt controller.
/// What kind of memory a 1 GiB block of physical addresses holds.
/// A board.
/// The board this kernel was built for. (Only `virt` for now; picking the
/// Pi 3 will be a cargo feature once its drivers exist.)
|