qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] QEMU PowerPC 464 User Mode Support


From: Thomas Huth
Subject: Re: [Qemu-ppc] QEMU PowerPC 464 User Mode Support
Date: Thu, 29 Sep 2016 09:14:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 29.09.2016 08:29, Sanjiv Doshi (sandoshi) wrote:
> David
> Appreciate your I/p.
> 
> I did try to enable 460 as you suggested. However when you look at 
> cpu-models.h file you find that it is not complete for 460 core:
> 
> ========== snippet from cpu-models.h ========
> 
>    /* PowerPC 460 family */                                                   
>                  |                                                            
>                                      
> #if 0                                                                         
>                   |                                                           
>                                       
>     /* Generic PowerPC 464 */                                                 
>                   |                                                           
>                                       
> #define CPU_POWERPC_464              CPU_POWERPC_464H90                       
>                   |                                                           
>                                       
> #endif                                                                        
>                   |                                                           
>                                       
>     /* PowerPC 464 microcontrolers */                                         
>                   |                                                           
>                                       
> #if 0                                                                         
>                   |                                                           
>                                       
>     CPU_POWERPC_464H90             = xxx,                                     
>                   |                                                           
>                                       
> #endif                                                                        
>                   |                                                           
>                                       
> #if 0                                                                         
>                   |                                                           
>                                       
>     CPU_POWERPC_464H90FP           = xxx,                                     
>                   |                                                           
>                                       
> #endif                                                                        
>                   |                                                           
>                                       
> 
> ===========================
> 
> Please pardon my ignorance of powerpc architecture and qemu but from “xxx” 
> seem to point that the code is in-complete. Do you have any suggestions?

Yes, looks like the definitions for the 460 family are currently
incomplete. However, there is already the basic code available for
setting up the POWERPC_FAMILY(460) in translate_init.c, so maybe the
only thing that is currently missing is the correct PVR value.
What kind of 464 are you trying to use? Do you know its PVR value? Is
there maybe a public specification of that chip available somewhere?
And what's the difference to the 440GX mode, which caused the problems
for you?

 Thomas




reply via email to

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