灵符lingfu

ling-lang

↓ 0 downloads

Ling - The Omniglot Systems Language

Keywords systems, polyglot, ai, crypto, game
lingfu install ling-lang
LicenseApache-2.0 OR MIT
AuthorsLing Lin, Sanny Lin
READMECode / FilesVersionsDependency GraphDependentsSecurityBuildsSettings

Code / Files (995)

crates/ling-kernel/src/arch/aarch64/mod.rs
//! aarch64 architecture backend: CPU intrinsics, MMIO helpers, the
//! Raspberry Pi raw-binary boot stub (`kernel8.img` has no ELF loader, so
//! `boot::zero_bss` has to run before any Rust static is trusted, and
//! `boot::_start` drops EL2 -> EL1 before anything else does), the
//! CNTPCT_EL0-based clock, and the BCM2837 interrupt controllers (`intc`;
//! see its module doc for why this isn't a GIC driver) plus the AArch64
//! exception vector table (`vectors`) built on top of them. `paging` is the
//! aarch64 counterpart of the x86_64 backend's `paging` (4-level stage-1
//! tables under `TTBR0_EL1`); `trap` is its counterpart of `trap.rs` —
//! `SVC`/EL0 process entry, exit, and the portable `TrapFrame` accessors
//! `proc::uproc`/`abi::syscalls` use without caring which architecture they
//! run on.

pub mod cpu;
pub mod intc;
pub mod gic;
pub mod fdt;
pub mod power;
pub mod mailbox;
pub mod mmio;
pub mod rp1;
pub mod timer;
pub mod xhci;
pub mod wifi;
pub mod wpa;
pub mod netdev;
pub mod sdcard;
pub mod rng;
pub mod rp1_eth;
pub mod hdmi_audio;
pub mod paging;
pub mod vectors;
pub mod trap;

pub mod boot;

← Back to index