Skip to main content

Module ostd

Module ostd 

Source
Expand description

OSTD-like (OS Trusted Domain) abstraction layer for Strat9-OS

This module provides a minimal, auditable unsafe code base that abstracts hardware operations behind safe interfaces. Inspired by Asterinas OSTD.

§Design concept

  • Minimal TCB: only essential unsafe code lives here
  • Safe Abstractions: all public APIs are safe wrappers
  • Hardware Traits: platform-independent interfaces
  • Confined Unsafe: all unsafe blocks are justified with SAFETY comments

Re-exports§

pub use cpu::CpuId;
pub use mm::PhysAddr;
pub use mm::VirtAddr;

Modules§

boot
Boot information abstraction
cpu
CPU abstraction layer
early_print
Early debugging output via serial port
mm
Memory management abstraction layer
task
Task abstraction layer
util
Utility types and functions for OSTD