[Top][All Lists]

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

Re: [Qemu-ppc] [Qemu-devel] [PATCH] PPC: init_excp_7x0: fix hreset entry

From: Alexander Graf
Subject: Re: [Qemu-ppc] [Qemu-devel] [PATCH] PPC: init_excp_7x0: fix hreset entry point.
Date: Wed, 27 Mar 2013 17:22:46 +0100

On 27.03.2013, at 17:17, Fabien Chouteau wrote:

> On 03/27/2013 05:07 PM, Alexander Graf wrote:
>> On 27.03.2013, at 16:49, Fabien Chouteau wrote:
>>> Alright, we can get rid of hreset_excp_prefix then.
>> I don't think we can get rid of the variable. G5s for example set the prefix 
>> through some HID register.
> I can't find this in the code...

Ah, hreset_excp_prefix vs excp_prefix. My bad. I was thinking of excp_prefix.

The SPR I was thinking of was HIOR:

static void spr_write_hior (void *opaque, int sprn, int gprn)
    TCGv t0 = tcg_temp_new();
    tcg_gen_andi_tl(t0, cpu_gpr[gprn], 0x3FFFFF00000ULL);
    tcg_gen_st_tl(t0, cpu_env, offsetof(CPUPPCState, excp_prefix));


reply via email to

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