aboutsummaryrefslogtreecommitdiff
path: root/machine/mtrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'machine/mtrap.h')
-rw-r--r--machine/mtrap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/machine/mtrap.h b/machine/mtrap.h
index eafdb14..c4d43d0 100644
--- a/machine/mtrap.h
+++ b/machine/mtrap.h
@@ -78,6 +78,7 @@ static inline void wfi()
#define IPI_SOFT 0x1
#define IPI_FENCE_I 0x2
#define IPI_SFENCE_VMA 0x4
+#define IPI_HALT 0x8
#define MACHINE_STACK_SIZE RISCV_PGSIZE
#define MENTRY_HLS_OFFSET (INTEGER_CONTEXT_SIZE + SOFT_FLOAT_CONTEXT_SIZE)