diff --git a/isa/hypervisor-svadu/2-stage_translation_implicit_store_error.S b/isa/hypervisor-svadu/2-stage_translation_implicit_store_error.S index 460c8aa1a..c504eb00e 100644 --- a/isa/hypervisor-svadu/2-stage_translation_implicit_store_error.S +++ b/isa/hypervisor-svadu/2-stage_translation_implicit_store_error.S @@ -85,6 +85,7 @@ hstatus_init: j fail # Should not reach here +.align 2 check_fault: la t0, trap_vector csrw mtvec, t0 diff --git a/isa/hypervisor/2-stage_translation_implicit_load_error.S b/isa/hypervisor/2-stage_translation_implicit_load_error.S index fbd19ae10..969f9d895 100644 --- a/isa/hypervisor/2-stage_translation_implicit_load_error.S +++ b/isa/hypervisor/2-stage_translation_implicit_load_error.S @@ -75,6 +75,7 @@ hstatus_init: j fail # Should not reach here +.align 2 check_fault: la t0, trap_vector csrw mtvec, t0