summaryrefslogtreecommitdiff
path: root/v/riscv_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'v/riscv_test.h')
-rw-r--r--v/riscv_test.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/v/riscv_test.h b/v/riscv_test.h
index 26c44f2..685dbac 100644
--- a/v/riscv_test.h
+++ b/v/riscv_test.h
@@ -79,7 +79,8 @@ userstart: \
#define PGSHIFT 13
#define PGSIZE (1 << PGSHIFT)
-#define SIZEOF_TRAPFRAME_T 20768
+#define SIZEOF_TRAPFRAME_T 20776
+#define SIZEOF_TRAPFRAME_T_SCALAR 296
#ifndef __ASSEMBLER__
@@ -145,7 +146,8 @@ typedef struct
long epc;
long badvaddr;
long cause;
- long evac[2560];
+ long hwacha_cause;
+ long hwacha_opaque[2560];
} trapframe_t;
#endif