On 2/21/21 1:24 AM, Claudio Fontana wrote: > From: Claudio Fontana <cfont...@centriq4.arch.suse.de> > > since ats_write64 is only used there, make it softmmu-only. > > gt_cntvoff_write, gt_hyp_*_write and gt_hyp_timer_reset are only used > in el2_cp_reginfo, so they can be softmmu-only too. > > Signed-off-by: Claudio Fontana <cfont...@suse.de> > --- > target/arm/tcg/helper-tcg.h | 16 ++-- > target/arm/tcg/helper.c | 129 +++------------------------- > target/arm/tcg/softmmu/helper.c | 145 +++++++++++++++++++++++++++++--- > 3 files changed, 149 insertions(+), 141 deletions(-)
Hum. As long as we're moving code around, let's put all the cp_regs stuff in its own file, rather than creating another massive file with random stuff in it. r~