From: Richard Henderson Date: Fri, 1 Mar 2024 20:41:06 +0000 (-1000) Subject: exec/memattrs: Remove target_tlb_bit* X-Git-Tag: v9.0.0-rc0~33^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1a85a9502b5d0011320fdf490c1d6bc2f8fdc79;p=thirdparty%2Fqemu.git exec/memattrs: Remove target_tlb_bit* These fields are no longer used since 937f224559. Target specific extensions to the page tables should be done with TARGET_PAGE_ENTRY_EXTRA. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Message-id: 20240301204110.656742-3-richard.henderson@linaro.org Signed-off-by: Peter Maydell --- diff --git a/include/exec/memattrs.h b/include/exec/memattrs.h index d04170aa27a..afa885f9830 100644 --- a/include/exec/memattrs.h +++ b/include/exec/memattrs.h @@ -54,16 +54,6 @@ typedef struct MemTxAttrs { unsigned int requester_id:16; /* Invert endianness for this page */ unsigned int byte_swap:1; - /* - * The following are target-specific page-table bits. These are not - * related to actual memory transactions at all. However, this structure - * is part of the tlb_fill interface, cached in the cputlb structure, - * and has unused bits. These fields will be read by target-specific - * helpers using env->iotlb[mmu_idx][tlb_index()].attrs.target_tlb_bitN. - */ - unsigned int target_tlb_bit0 : 1; - unsigned int target_tlb_bit1 : 1; - unsigned int target_tlb_bit2 : 1; } MemTxAttrs; /* Bus masters which don't specify any attributes will get this,