Crate ostd

Source
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§

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.