summaryrefslogtreecommitdiff
path: root/p/riscv_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'p/riscv_test.h')
-rw-r--r--p/riscv_test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/p/riscv_test.h b/p/riscv_test.h
index 4a43885..9cc8754 100644
--- a/p/riscv_test.h
+++ b/p/riscv_test.h
@@ -93,6 +93,7 @@
_start: \
/* reset vector */ \
j reset_vector; \
+ .align 2; \
trap_vector: \
/* test whether the test came from pass/fail */ \
csrr t5, mcause; \