Expand description
Runtime library of ArceOS.
Any application uses ArceOS should link this library. It does some
initialization work before entering the application’s main function.
§Cargo Features
paging: Enable page table manipulation support.smp: Enable SMP (symmetric multiprocessing) support.fs: Enable filesystem support.net: Enable networking support.display: Enable graphics support.
Interrupt handling and multi-task scheduling are mandatory runtime capabilities. The listed features are optional and disabled by default.
Re-exports§
pub use ax_hal as hal;
Modules§
- console
- Sleepable task-context access to the runtime-owned physical console.
- emergency_
console - Synchronous emergency text output.
- irq
- serial
- UART runtime ownership and task-context data service.
- sync
- Native ArceOS lock facade and
ax-syncbridge provider.
Enums§
- Runtime
Error - Errors owned by the ArceOS runtime layer.
Functions§
- rust_
main - The main entry point of the ArceOS runtime.
- terminate
- Drains task-console output before shutting down the whole system.
Type Aliases§
- Runtime
Result - A result returned by an ArceOS runtime-owned operation.