aboutsummaryrefslogtreecommitdiff
path: root/target/loongarch/translate.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/loongarch/translate.h')
-rw-r--r--target/loongarch/translate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/loongarch/translate.h b/target/loongarch/translate.h
index 9cc12512d1..6d2e382e8b 100644
--- a/target/loongarch/translate.h
+++ b/target/loongarch/translate.h
@@ -29,7 +29,8 @@ typedef struct DisasContext {
DisasContextBase base;
target_ulong page_start;
uint32_t opcode;
- int mem_idx;
+ uint16_t mem_idx;
+ uint16_t plv;
TCGv zero;
/* Space for 3 operands plus 1 extra for address computation. */
TCGv temp[4];