[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 12/16] tcg-s390: Define TCG_TARGET_INSN_UNIT_
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v3 12/16] tcg-s390: Define TCG_TARGET_INSN_UNIT_SIZE |
Date: |
Fri, 9 May 2014 14:35:41 +0100 |
On 28 April 2014 20:28, Richard Henderson <address@hidden> wrote:
> And use tcg pointer differencing functions as appropriate.
>
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> tcg/s390/tcg-target.c | 91
> ++++++++++++++++++++++++---------------------------
> tcg/s390/tcg-target.h | 2 ++
> 2 files changed, 45 insertions(+), 48 deletions(-)
>
> diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c
> index 1d912a7..ae1be1c 100644
> --- a/tcg/s390/tcg-target.c
> +++ b/tcg/s390/tcg-target.c
> @@ -320,7 +320,7 @@ static const uint8_t tcg_cond_to_ltr_cond[] = {
> #ifdef CONFIG_SOFTMMU
> /* helper signature: helper_ld_mmu(CPUState *env, target_ulong addr,
> int mmu_idx) */
> -static const void * const qemu_ld_helpers[4] = {
> +static void * const qemu_ld_helpers[4] = {
> helper_ldb_mmu,
> helper_ldw_mmu,
> helper_ldl_mmu,
> @@ -329,7 +329,7 @@ static const void * const qemu_ld_helpers[4] = {
>
> /* helper signature: helper_st_mmu(CPUState *env, target_ulong addr,
> uintxx_t val, int mmu_idx) */
> -static const void * const qemu_st_helpers[4] = {
> +static void * const qemu_st_helpers[4] = {
> helper_stb_mmu,
> helper_stw_mmu,
> helper_stl_mmu,
Why do these lose the 'const' ?
Patch looks ok otherwise from a quick scan.
thanks
-- PMM
- Re: [Qemu-devel] [PATCH v3 12/16] tcg-s390: Define TCG_TARGET_INSN_UNIT_SIZE,
Peter Maydell <=