]> xenbits.xensource.com Git - qemu-xen.git/commit
exec: Move CPUTLBEntry helpers to cputlb.c
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 3 Apr 2024 12:13:18 +0000 (14:13 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 15:03:05 +0000 (17:03 +0200)
commitaacfd8bbaf99444f84b408e6b052651fb8056c41
tree428e588b6a5244052766f53e876e88cf874fb76f
parent16aa8eaaace3f8eb2d14521705fdccab518388a3
exec: Move CPUTLBEntry helpers to cputlb.c

The following CPUTLBEntry helpers are only used in accel/tcg/cputlb.c:
  - tlb_index()
  - tlb_entry()
  - tlb_read_idx()
  - tlb_addr_write()

Move them to this file, allowing to remove the huge "cpu.h" header
inclusion from "exec/cpu_ldst.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240418192525.97451-13-philmd@linaro.org>
accel/tcg/cputlb.c
include/exec/cpu_ldst.h