File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ tock-registers = "0.9"
2626
2727axerrno = " 0.1.0"
2828percpu = {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
3131axaddrspace = {git = " https://github.com/arceos-hypervisor/axaddrspace.git" }
3232axdevice_base = {git = " https://github.com/arceos-hypervisor/axdevice_crates.git" }
Original file line number Diff line number Diff 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}" ,
You can’t perform that action at this time.
0 commit comments