mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-28 00:33:25 +00:00
riscv64: 映射uefi systemtable,并完善了riscv64页表填写的部分内容 (#498)
* 从fdt的chosen段获取几个需要的字段 * merge patch-early-ioremap * feature: 增加early io remap的fixmap功能 允许在内存管理初始化之前,使用fixmap功能,映射一些物理内存,并记录. * riscv64: 映射uefi systemtable,并完善了riscv64页表填写的部分内容 * 更新仓库网址
This commit is contained in:
@ -46,6 +46,9 @@ system_error = { path = "crates/system_error" }
|
||||
unified-init = { path = "crates/unified-init" }
|
||||
virtio-drivers = { git = "https://git.mirrors.dragonos.org.cn/DragonOS-Community/virtio-drivers.git", rev = "f1d1cbb" }
|
||||
fdt = "0.1.5"
|
||||
uefi = { version = "0.26.0", features = ["alloc"] }
|
||||
uefi-raw = "0.5.0"
|
||||
|
||||
|
||||
# target为x86_64时,使用下面的依赖
|
||||
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
||||
@ -56,7 +59,7 @@ x86_64 = "0.14.10"
|
||||
|
||||
# target为riscv64时,使用下面的依赖
|
||||
[target.'cfg(target_arch = "riscv64")'.dependencies]
|
||||
|
||||
riscv = { version = "0.11.0", features = [ "s-mode" ] }
|
||||
|
||||
|
||||
# 构建时依赖项
|
||||
|
Reference in New Issue
Block a user