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 task scheduling are mandatory runtime capabilities.
Re-exports§
Modules§
- console
- Sleepable task-context access to the runtime-owned physical console.
- diagnostics
- Runtime observations for scheduler and execution-context diagnostics.
- emergency_
console - Synchronous emergency text output.
- irq
- serial
- UART runtime ownership and task-context data service.
- thread
- ArceOS ownership and trait-FFI glue for the OS-independent task system.
Enums§
- Runtime
Error - Errors owned by the ArceOS runtime layer.
Constants§
- CPU_
CAPACITY - A uniprocessor runtime represents only CPU zero.
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.