Skip to content

Commit cb1415b

Browse files
authored
add feature: 4-level-ept (#25)
* add feature: 4-level-ept * update rust-toolchain * represent some dependencies using the crates.io version
1 parent 93b8ee5 commit cb1415b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
rust-toolchain: [nightly-2024-12-25, nightly]
11+
rust-toolchain: [nightly-2025-05-20, nightly]
1212
targets: [x86_64-unknown-linux-gnu, x86_64-unknown-none, riscv64gc-unknown-none-elf, aarch64-unknown-none-softfloat]
1313
steps:
1414
- uses: actions/checkout@v4
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/checkout@v4
4646
- uses: dtolnay/rust-toolchain@nightly
4747
with:
48-
toolchain: nightly-2024-12-25
48+
toolchain: nightly-2025-05-20
4949
- name: Build docs
5050
continue-on-error: ${{ github.ref != env.default-branch && github.event_name != 'pull_request' }}
5151
run: |

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ edition = "2024"
66
[features]
77
default = ["vmx"]
88
vmx = []
9+
4-level-ept = ["arm_vcpu/4-level-ept"] # TODO: Realize 4-level-ept on x86_64 and riscv64.
910

1011
[dependencies]
1112
log = "0.4"
@@ -22,19 +23,18 @@ page_table_multiarch = "0.5"
2223
percpu = { version = "0.2.0", features = ["arm-el2"] }
2324

2425
# System dependent modules provided by ArceOS-Hypervisor.
25-
axvcpu = { git = "https://github.com/arceos-hypervisor/axvcpu.git" }
26-
axaddrspace = { git = "https://github.com/arceos-hypervisor/axaddrspace.git" }
26+
axvcpu = "0.1"
27+
axaddrspace = "0.1"
2728
axdevice = { git = "https://github.com/arceos-hypervisor/axdevice.git" }
28-
axdevice_base = { git = "https://github.com/arceos-hypervisor/axdevice_crates.git" }
29-
axvmconfig = { git = "https://github.com/arceos-hypervisor/axvmconfig.git", default-features = false }
29+
axdevice_base = "0.1"
30+
axvmconfig = { version = "0.1", default-features = false }
3031

3132
[target.'cfg(target_arch = "x86_64")'.dependencies]
32-
x86_vcpu = { git = "https://github.com/arceos-hypervisor/x86_vcpu.git" }
33+
x86_vcpu = "0.1"
3334

3435
[target.'cfg(target_arch = "riscv64")'.dependencies]
35-
riscv_vcpu = { git = "https://github.com/arceos-hypervisor/riscv_vcpu.git" }
36+
riscv_vcpu = "0.1"
3637

3738
[target.'cfg(target_arch = "aarch64")'.dependencies]
38-
arm_vcpu = { git = "https://github.com/arceos-hypervisor/arm_vcpu.git" }
39-
arm_vgic = { git = "https://github.com/arceos-hypervisor/arm_vgic.git", features = ["vgicv3"] }
40-
39+
arm_vcpu = "0.1"
40+
arm_vgic = { version = "0.1", features = ["vgicv3"] }

0 commit comments

Comments
 (0)