Skip to main content

Crate os

Crate os 

Source

Modules§

allocator
block
Block Device Module
console
errno
POSIX-compatible error codes for system calls and VFS operations.
event_log
Kernel Event Logger for Visualization
fs
File System Module
grading
AhRightOS Grading Framework
interrupts
mem_utils
Memory intrinsics — replaces compiler-builtins-mem feature.
memory
process
Process Management Module
serial
shell
AhRightOS Shell
syscall
task

Macros§

print
打印宏(不换行)
println
打印宏(换行)
serial_print
串口打印宏
serial_println
串口打印宏(带换行)

Enums§

QemuExitCode

Traits§

Testable
测试特征

Functions§

exit_qemu
退出 QEMU
hlt_loop
无限循环(使用 wfi 指令节能)
init
初始化操作系统
test_panic_handler
测试 panic 处理
test_runner
测试运行器