Skip to content

Commit a86329b

Browse files
committed
update
1 parent 733f137 commit a86329b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tock-registers = "0.9"
2626

2727
axerrno = "0.1.0"
2828
percpu = {version = "0.2.0", features = ["arm-el2"]}
29-
axcpu = {path="../axcpu", features = ["arm-el2"]}
29+
axcpu = {path="../axcpu", version = "0.2", features = ["arm-el2"]}
3030

3131
axaddrspace = {git = "https://github.com/arceos-hypervisor/axaddrspace.git"}
3232
axdevice_base = {git = "https://github.com/arceos-hypervisor/axdevice_crates.git"}

src/vcpu.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ impl<H: AxVCpuHal> Aarch64VCpu<H> {
286286
"mov x9, sp",
287287
"add x0, x0, {host_stack_top_offset}",
288288
"str x9, [x0]",
289+
"mov sp, x0",
290+
"sub sp, sp, {host_stack_top_offset}",
289291
// Go to `context_vm_entry`.
290292
"b {entry}",
291293
"b {run_guest_panic}",

0 commit comments

Comments
 (0)