On 10/1/25 01:21, Philippe Mathieu-Daudé wrote:
The "exec/target_page.h" header is indirectly pulled from
"system/ram_addr.h". Include it explicitly, in order to
avoid unrelated issues when refactoring "system/ram_addr.h":

   target/arm/tcg/mte_helper.c:815:23: error: use of undeclared identifier 
'TARGET_PAGE_MASK'
     815 |     prev_page = ptr & TARGET_PAGE_MASK;
         |                       ^
   target/arm/tcg/mte_helper.c:816:29: error: use of undeclared identifier 
'TARGET_PAGE_SIZE'
     816 |     next_page = prev_page + TARGET_PAGE_SIZE;
         |                             ^

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
  target/arm/tcg/mte_helper.c | 1 +
  1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to