This is a README for Byte-OS Org

March 29, 2024 · View on GitHub

Trait List

这里有一些可以复用的模块(特指 Rust),如下:

模块链接介绍
arm_gichttps://github.com/Byte-OS/arm_gicarm 通用中断控制器, Thanks ArceOS
arm_pl011https://github.com/Byte-OS/arm_pl011arm_pl011 串口, Thanks ArceOS
backtracehttps://github.com/Byte-OS/backtrace在发生 panic 的时候调用,能显示异常的函数地址(Only Riscv)
percpuhttps://github.com/Byte-OS/percpu定义 percpu 数据,需要修改链接脚本, Thanks ArceOS
timestamphttps://github.com/Byte-OS/timestamp可以将时间戳转换为时间结构,有 rtc 设备会比较有用
vfscorehttps://github.com/Byte-OS/vfscore虚拟文件系统,包含文件抽象
cv1811-sdhttps://github.com/Byte-OS/cv1811-sdcv1811h 的 sd 卡驱动,也许是 cvitek-sd 都通用
crate_interfacehttps://github.com/Byte-OS/crate_interface可以有效解决循环依赖的问题,可以利用 trait 实现底层调上层, Thanks ArceOS
lose-net-stackhttps://github.com/Byte-OS/lose-net-stack一个轻量级的网络协议栈,也许在一些资源受限的设备上比较有效,支持 TCP,UDP
rustfshttps://github.com/Byte-OS/rust-fatfsFork https://github.com/rafalh/rust-fatfs.git, 做了一些修改,可以手动 flush
archhttps://github.com/Byte-os/arch一个支持 x86_64, aarch64, riscv64, loongarch64 的硬件抽象曾,目前对无栈协程有比较好的支持