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

Re: xfree86-1_3.3.4 now compiles on powerpc, mach64 mess fixed, patch included.



On Thu, Sep 16, 1999 at 02:14:30PM +0200, Sven LUTHER wrote:
> ---
> /home/luther/Xfree/3.3/debian/xfree86-1-3.3.4/build-tree/xc/programs/Xserver/hw/xfree86/accel/mach64/mach64util.c.orig	Thu Sep 16 07:34:58 1999
> +++
> /home/luther/Xfree/3.3/debian/xfree86-1-3.3.4/build-tree/xc/programs/Xserver/hw/xfree86/accel/mach64/mach64util.c	Thu Sep 16 07:38:08 1999
> @@ -143,6 +143,7 @@
>  
>  #endif /* __sparc__ */
>  
> +#ifndef __powerpc__
>  extern __inline__ void regw(unsigned int regindex, unsigned long regdata)
>  {
>      unsigned long appaddr;
> @@ -175,6 +176,7 @@
>      return (*(__volatile__ int *)appaddr);
>  #endif
>  }
> +#endif /* __powerpc__ */
>  
>  extern __inline__ void regwb(unsigned int regindex, unsigned char regdata)
>  {

I'm not sure this is going to work for sparc, I need to test this out again.
I think alot of the mach64 stuff that is #if'd for powerpc could be done for
sparc to use it too (the regwb() is one of them).


Reply to: