[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 12/34] include/exec: Move tb hash functions out
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [RFC v2 12/34] include/exec: Move tb hash functions out |
Date: |
Mon, 01 Jun 2015 12:25:38 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 05/30/2015 11:11 PM, Peter Crosthwaite wrote:
> This is one of very few things in exec-all with a genuine CPU
> architecture dependency. Move these hashing helpers to a new
> header to trim exec-all.h down to a near architecture-agnostic
> header.
>
> The defs are only used by cpu-exec and translate-all which are both
> arch-obj's so the new tb-hash.h has no core code usage.
>
> Signed-off-by: Peter Crosthwaite <address@hidden>
> ---
> cpu-exec.c | 2 ++
> include/exec/exec-all.h | 20 --------------------
> include/exec/tb-hash.h | 43 +++++++++++++++++++++++++++++++++++++++++++
> target-multi/helper.h | 1 +
> translate-all.c | 1 +
> 5 files changed, 47 insertions(+), 20 deletions(-)
> create mode 100644 include/exec/tb-hash.h
> create mode 100644 target-multi/helper.h
Reviewed-by: Richard Henderson <address@hidden>
r~