qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 09/40] Add vscr access macros.


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH 09/40] Add vscr access macros.
Date: Sat, 3 Jan 2009 15:04:37 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Dec 30, 2008 at 07:09:51PM -0800, Nathan Froyd wrote:
> 
> Signed-off-by: Nathan Froyd <address@hidden>
> ---
>  target-ppc/cpu.h |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)

Thanks, applied.

> diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
> index f7600c4..113bba5 100644
> --- a/target-ppc/cpu.h
> +++ b/target-ppc/cpu.h
> @@ -525,6 +525,13 @@ enum {
>                     0x1F)
>  
>  
> /*****************************************************************************/
> +/* Vector status and control register */
> +#define VSCR_NJ              16 /* Vector non-java */
> +#define VSCR_SAT     0 /* Vector saturation */
> +#define vscr_nj              (((env->vscr) >> VSCR_NJ)       & 0x1)
> +#define vscr_sat     (((env->vscr) >> VSCR_SAT)      & 0x1)
> +
> +/*****************************************************************************/
>  /* The whole PowerPC CPU context */
>  #define NB_MMU_MODES 3
>  
> -- 
> 1.6.0.5
> 
> 
> 
> 

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   address@hidden         | address@hidden
   `-    people.debian.org/~aurel32 | www.aurel32.net




reply via email to

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