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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/loongarch/translate.h b/target/loongarch/translate.h
index 7f60090580..b6fa5df82d 100644
--- a/target/loongarch/translate.h
+++ b/target/loongarch/translate.h
@@ -33,6 +33,8 @@ typedef struct DisasContext {
uint16_t plv;
int vl; /* Vector length */
TCGv zero;
+ bool la64; /* LoongArch64 mode */
+ bool va32; /* 32-bit virtual address */
} DisasContext;
void generate_exception(DisasContext *ctx, int excp);