Expand description
The standard library for Asterinas and other Rust OSes.
Re-exports§
Modules§
- Platform-specific code.
- The architecture-independent boot module, which provides a universal interface from the bootloader to the rest of OSTD.
- Bus operations
- This module provides some advanced collections.
- Console output.
- CPU.
- I/O memory.
- Logging support.
- Virtual memory (VM).
- Panic support.
- The prelude.
- Useful synchronization primitives.
- Tasks are the unit of code execution.
- Handles trap across kernel and user space.
- User space.
Macros§
- Defines a CPU-local variable.
- Prints to the console.
- Prints to the console, with a newline.
- Gets the offset of a field within a type as a pointer.
- Gets the offset of a field within an object as a pointer.
Enums§
- The error type which is returned from the APIs of this crate.
Functions§
- Initializes OSTD.
Attribute Macros§
- This macro is used to mark the kernel entry point.