Expand description
The standard library for Asterinas and other Rust OSes.
Re-exports§
pub use self::prelude::Result;
Modules§
- Platform-specific code.
- The architecture-independent boot module, which provides
- Bus operations
- This module provides some advanced collections.
- Console output.
- CPU-related definitions.
- I/O memory.
- Logging support.
- Virtual memory (VM).
- Panic support.
- The prelude.
- Symmetric Multi-Processing (SMP) support.
- Useful synchronization primitives.
- Tasks are the unit of code execution.
- The timer support.
- Handles trap across kernel and user space.
- User space.
Macros§
- Defines a CPU-local variable.
- Defines an inner-mutable CPU-local variable.
- Prints to the console.
- Prints to the console with a newline.
- Makes a structure usable as a frame metadata.
- Makes a structure usable as untyped frame metadata.
- 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.
Traits§
- A marker trait for plain old data (POD).
Attribute Macros§
- A macro attribute to mark the kernel entry point.
- A macro attribute for the panic handler.
Derive Macros§
- Deriving
Pod
trait for a struct or union.