interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / crates / aienos-kernel / src / lib.rs

74 lines · 1859 bytes Raw Blame History
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2026 Drake Stapleton (AIEN / aien-dev)
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16//! AIENOS Bare-Metal Kernel Substrate for AArch64 (DGX Spark).
17//!
18//! Provides minimal, sovereign, deterministic primitives:
19//! - AArch64 MMIO, UART, and exception-level access
20//! - Physical memory addressing and bitmap frame allocation
21//! - Pure-Rust cryptographic hashing (SHA-256)
22//! - Bare-metal synchronization (`SpinLock`)
23
24#![cfg_attr(not(feature = "std"), no_std)]
25
26extern crate alloc;
27
28pub mod abi;
29pub mod acpi;
30pub mod admission;
31pub mod arch;
32pub mod artifact_loader;
33pub mod block;
34pub mod boot;
35pub mod budget;
36pub mod caps;
37pub mod console;
38pub mod continuity;
39pub mod crypto;
40pub mod device;
41pub mod display;
42pub mod dma_gate;
43pub mod edu;
44pub mod fatal;
45pub mod gic;
46pub mod infer;
47pub mod ipc;
48pub mod mem;
49pub mod net;
50pub mod nvme;
51pub mod pci;
52pub mod pe;
53pub mod recovery;
54pub mod recovery_core;
55pub mod report;
56pub mod scheduler;
57pub mod security;
58pub mod shell;
59pub mod smmu;
60pub mod store;
61pub mod sync;
62pub mod task_runtime;
63pub mod thread;
64pub mod timer;
65pub mod uefi;
66pub mod usb;
67pub mod user;
68pub mod virtio_net;
69
70#[cfg(all(target_os = "none", not(feature = "std"), not(test)))]
71#[panic_handler]
72fn panic(_info: &core::panic::PanicInfo) -> ! {
73 arch::aarch64::halt();
74}