forked from arceos-org/arceos
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Cargo.toml
62 lines (56 loc) · 1.62 KB
/
Cargo.toml
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
[package]
name = "axhal"
version.workspace = true
edition = "2021"
authors = ["Yuekai Jia <equation618@gmail.com>"]
description = "ArceOS hardware abstraction layer, provides unified APIs for platform-specific operations"
license.workspace = true
homepage.workspace = true
repository = "https://github.com/arceos-org/arceos/tree/main/modules/axhal"
documentation = "https://arceos-org.github.io/arceos/axhal/index.html"
[features]
smp = []
alloc = []
fp_simd = []
paging = ["axalloc", "page_table_multiarch"]
irq = []
tls = ["alloc"]
rtc = ["x86_rtc", "riscv_goldfish", "arm_pl031"]
default = []
[dependencies]
log = "0.4"
cfg-if = "1.0"
bitflags = "2.6"
static_assertions = "1.1.0"
kernel_guard = "0.1"
kspin = "0.1"
int_ratio = "0.1"
lazyinit = "0.2"
percpu = "0.1"
memory_addr = "0.2"
handler_table = "0.1"
crate_interface = "0.1"
page_table_entry = "0.1"
page_table_multiarch = { version = "0.1", optional = true }
axlog = { workspace = true }
axconfig = { workspace = true }
axalloc = { workspace = true, optional = true }
[target.'cfg(target_arch = "x86_64")'.dependencies]
x86 = "0.52"
x86_64 = "0.15"
x2apic = "0.4"
raw-cpuid = "11.0"
x86_rtc = { version = "0.1", optional = true }
[target.'cfg(any(target_arch = "riscv32", target_arch = "riscv64"))'.dependencies]
riscv = "0.11"
sbi-rt = { version = "0.0.3", features = ["legacy"] }
riscv_goldfish = { version = "0.1", optional = true }
[target.'cfg(target_arch = "aarch64")'.dependencies]
aarch64-cpu = "9.4"
tock-registers = "0.8"
arm_gicv2 = "0.1"
arm_pl011 = "0.1"
arm_pl031 = { version = "0.1", optional = true }
dw_apb_uart = "0.1"
[build-dependencies]
axconfig = { workspace = true }