aboutsummaryrefslogtreecommitdiff
path: root/target/loongarch/csr.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/loongarch/csr.c')
-rw-r--r--target/loongarch/csr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/loongarch/csr.c b/target/loongarch/csr.c
index 7ea0a30..f973780 100644
--- a/target/loongarch/csr.c
+++ b/target/loongarch/csr.c
@@ -97,6 +97,11 @@ static CSRInfo csr_info[] = {
CSR_OFF(DBG),
CSR_OFF(DERA),
CSR_OFF(DSAVE),
+ CSR_OFF_ARRAY(MSGIS, 0),
+ CSR_OFF_ARRAY(MSGIS, 1),
+ CSR_OFF_ARRAY(MSGIS, 2),
+ CSR_OFF_ARRAY(MSGIS, 3),
+ CSR_OFF(MSGIR),
};
CSRInfo *get_csr(unsigned int csr_num)