-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathCargo.toml
More file actions
109 lines (94 loc) · 2.76 KB
/
Cargo.toml
File metadata and controls
109 lines (94 loc) · 2.76 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[package]
name = "hvisor"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log = "0.4"
spin = "0.10.0"
bitflags = "2.1"
bit_field = "0.10"
numeric-enum-macro = "0.2"
buddy_system_allocator = "0.8"
tock-registers = "0.8"
lazy_static = { version = "1.4", features = ["spin_no_std"] }
bitmap-allocator = { git = "https://github.com/rcore-os/bitmap-allocator", rev = "03bd9909" }
qemu-exit = "3.0.2"
cortex-a = "8.1.1"
cfg-if = "1.0"
bitvec = { version="1.0.1", default-features = false, features = ["atomic", "alloc"] }
heapless = { version = "0.8.0 "}
percpu = { package = "percpu", version="0.2", features=["arm-el2"]}
[target.'cfg(target_arch = "aarch64")'.dependencies]
aarch64-cpu = "9.4.0"
psci = { version = "0.1.0", default-features = false, features = ["smc"] }
[target.'cfg(target_arch = "riscv64")'.dependencies]
sbi-rt = { version = "0.0.3", features = ["legacy"] }
sbi-spec = { version = "0.0.8", features = ["legacy"]}
riscv = "0.13.0"
riscv_h = { package = "riscv", git = "https://github.com/rcore-os/riscv", features = ["inline-asm"] }
riscv-decode = "0.2.1"
riscv-peripheral = "0.2.1"
riscv-pac = "0.2.0"
[target.'cfg(target_arch = "loongarch64")'.dependencies]
loongArch64 = "0.2.5"
[target.'cfg(target_arch = "x86_64")'.dependencies]
x86 = "=0.52.0"
x86_64 = "=0.14.10"
x2apic = "=0.4.3"
raw-cpuid = "=10.7.0"
acpi = "=5.2.0"
uguid = "=2.2.0"
uefi-raw = "=0.9.0"
[features]
############# general ##############
iommu = [] # supported by: aarch64, riscv64
pci = [] # supported by: aarch64, riscv64,loongarch64
share_s2pt = ["iommu"]
print_timestamp = [] # print timestamp when logging
############# IOMMU ##############
riscv_iommu = ["iommu"]
arm_smmu = ["iommu"]
intel_vtd = ["iommu"]
############# PCIe access mechanism ##############
ecam_pcie = [] # Standard ECAM mechanism (default for most platforms)
dwc_pcie = [] # DesignWare PCIe Core mechanism (CFG0/CFG1, used by RK3568)
loongarch64_pcie = [] # LoongArch PCIe mechanism (used by LoongArch platforms)
no_pcie_bar_realloc = []
############# aarch64 ##############
# irqchip driver
gicv2 = []
gicv3 = []
# uart driver
pl011 = []
xuartps = []
imx_uart = []
uart_16550 = []
sifive_ccache = []
eic7700_sysreg = []
uart16550a = []
############## riscv64 #############
# irqchip driver
plic = []
dp1000_plic = []
aia = []
aclint = []
# extensions
sstc = []
# platform specific
eic770x_soc = []
########### loongarch64 ############
# irqchip driver
loongson_7a2000 = []
# uart driver
loongson_uart = []
# cpu (not used for now)
loongson_3a5000 = []
loongson_3a6000 = []
############# x86_64 ###############
graphics = []
split_screen = []
[profile.dev]
# panic = "abort" # avoid cargo test failure, this is a bug of cargo
debug = 2
opt-level = 0