rust重构mmio_buddy和mmio (#178)

* rust重构mmio_buddy和mmio

* mmio-buddy文档

---------

Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
houmkh
2023-03-04 18:36:55 +08:00
committed by GitHub
parent f1284c3571
commit c2481452f8
12 changed files with 794 additions and 474 deletions

View File

@ -16,4 +16,9 @@ x86_64 = "0.14.10"
[build-dependencies]
bindgen = "0.61.0"
[dependencies.lazy_static]
version = "1.4.0"
# 由于在no_std环境而lazy_static依赖了spin库因此需要指定其使用no_std
features = ["spin_no_std"]