summary refs log tree commit diff stats
path: root/tcg/tcg-op-ldst.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-05-01 11:38:03 -0700
committerRichard Henderson <richard.henderson@linaro.org>2025-05-28 08:08:47 +0100
commit11efde54f248c2da9e164910b8b1945e78a7168e (patch)
treecb028eccb2a9f55417644e77e022bb377daa95d9 /tcg/tcg-op-ldst.c
parent9cfcf8c3b7b7a95e754a9fce565a88c6c76ce128 (diff)
downloadfocaccia-qemu-11efde54f248c2da9e164910b8b1945e78a7168e.tar.gz
focaccia-qemu-11efde54f248c2da9e164910b8b1945e78a7168e.zip
tcg: Drop TCGContext.page_{mask,bits}
Use exec/target_page.h instead of independent variables.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg-op-ldst.c')
-rw-r--r--tcg/tcg-op-ldst.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcg/tcg-op-ldst.c b/tcg/tcg-op-ldst.c
index fa9e52277b..548496002d 100644
--- a/tcg/tcg-op-ldst.c
+++ b/tcg/tcg-op-ldst.c
@@ -27,6 +27,7 @@
 #include "tcg/tcg-temp-internal.h"
 #include "tcg/tcg-op-common.h"
 #include "tcg/tcg-mo.h"
+#include "exec/target_page.h"
 #include "exec/translation-block.h"
 #include "exec/plugin-gen.h"
 #include "tcg-internal.h"
@@ -40,7 +41,7 @@ static void check_max_alignment(unsigned a_bits)
      * FIXME: Must keep the count up-to-date with "exec/tlb-flags.h".
      */
     if (tcg_use_softmmu) {
-        tcg_debug_assert(a_bits + 5 <= tcg_ctx->page_bits);
+        tcg_debug_assert(a_bits + 5 <= TARGET_PAGE_BITS);
     }
 }