Skip to main content

Crate ostd

Crate ostd 

Source
Expand description

The standard library for Asterinas and other Rust OSes.

Modules§

arch
Platform-specific code for the x86 platform.
boot
The architecture-independent boot module, which provides
cpu
CPU-related definitions.
error
mm
Virtual memory (VM).
specs
sync
Useful synchronization primitives.
task
Tasks are the unit of code execution.
timer
The timer support.
trap
Handles trap across kernel and user space.
util
Utility types and methods.

Macros§

const_assert
Asserts that a boolean expression is true at compile-time.
ptr_null_of
Creates a pointer whose type matches the expression, but whose value is always NULL.

Traits§

Pod
A marker trait for plain old data (POD).