-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (54 loc) · 1.62 KB
/
Cargo.toml
File metadata and controls
64 lines (54 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[profile.release]
# debug = true
[workspace]
resolver = "2"
members = [
# 普通模块
"crates/devices",
"crates/executor",
"crates/runtime",
"crates/libc-types",
"crates/sync",
# 文件系统
"filesystem/devfs",
"filesystem/fs",
"filesystem/procfs",
"filesystem/ramfs",
"filesystem/vfscore",
"filesystem/ext4fs",
"filesystem/ext4rsfs",
# 驱动
"driver/general-plic",
"driver/kgoldfish-rtc",
"driver/kramdisk",
"driver/kvirtio",
"driver/ns16550a",
#内核
"kernel",
]
[workspace.dependencies]
fs = { path = "filesystem/fs" }
devfs = { path = "filesystem/devfs" }
procfs = { path = "filesystem/procfs" }
vfscore = { path = "filesystem/vfscore" }
ramfs = { path = "filesystem/ramfs" }
general-plic = { path = "driver/general-plic" }
kgoldfish-rtc = { path = "driver/kgoldfish-rtc" }
kramdisk = { path = "driver/kramdisk" }
kvirtio = { path = "driver/kvirtio" }
ns16550a = { path = "driver/ns16550a" }
devices = { path = "crates/devices" }
executor = { path = "crates/executor" }
runtime = { path = "crates/runtime" }
libc-types = { path = "crates/libc-types" }
logging = { path = "crates/logging" }
sync = { path = "crates/sync" }
polyhal = { version = "0.4.0", features = ["logger", "trap"] }
polyhal-boot = { version = "0.4.0" }
polyhal-trap = { version = "0.4.0" }
fdt-parser = { version = "0.4.12" }
syscalls = { git = "https://github.com/jasonwhite/syscalls.git", default-features = false }
[patch.crates-io]
# polyhal = { path = "../polyhal/polyhal" }
# polyhal-boot = { path = "../polyhal/polyhal-boot" }
# polyhal-trap = { path = "../polyhal/polyhal-trap" }