qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 01/11] PPC64: Implement slbmte


From: Blue Swirl
Subject: [Qemu-devel] Re: [PATCH 01/11] PPC64: Implement slbmte
Date: Sat, 7 Mar 2009 11:57:26 +0200

On 3/6/09, Alexander Graf <address@hidden> wrote:
> In order to modify SLB entries on recent PPC64 machines, the slbmte
>  instruction is used.

>   void ppc_store_sr (CPUPPCState *env, int srnum, target_ulong value)
>   {
>      LOG_MMU("%s: reg=%d " ADDRX " " ADDRX "\n",
>                  __func__, srnum, value, env->sr[srnum]);
>  -    if (env->sr[srnum] != value) {
>  +    if (env->mmu_model & POWERPC_MMU_64) {
>  +        uint64_t rb = 0, rs = 0;

This part does not compile because POWERPC_MMU_64 is not defined, is
the patch sequence correct?




reply via email to

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