qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 12/24] exec: Move CPUTLBEntry helpers to cputlb.c


From: Richard Henderson
Subject: Re: [PATCH 12/24] exec: Move CPUTLBEntry helpers to cputlb.c
Date: Sun, 21 Apr 2024 09:39:10 -0700
User-agent: Mozilla Thunderbird

On 4/18/24 12:25, Philippe Mathieu-Daudé wrote:
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>
---
  include/exec/cpu_ldst.h | 55 -----------------------------------------
  accel/tcg/cputlb.c      | 51 ++++++++++++++++++++++++++++++++++++++
  2 files changed, 51 insertions(+), 55 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]