Debugging xserver on Alpha

Peter Hutterer peter.hutterer at who-t.net
Tue Oct 6 19:25:02 PDT 2009


On Wed, Oct 07, 2009 at 02:44:50PM +1300, Michael Cree wrote:
> On 7/10/2009, at 2:12 PM, Matt Turner wrote:
>>> I'm going to get my xserver repository working ASAP and get these
>>> patches in it. I'll respond when I've got it set up.
>>
>> OK, my repository is available at http://cgit.freedesktop.org/~mattst88/xserver/
>>
>> (Gosh git it a lot easier to use than it used to be for me.)
>>
>> I guess I'm just missing your _X_EXPORTs patch. Send it along when you
>> can and I'll apply it to my tree.
>
> Follows below.

FWIW, it's easier if you send a git generated by git format-patch. This way
matt can just apply it directly and when you rebase your local tree against
his git will just merge it in accordingly.

Saves him time and it saves you time too.

Cheers,
  Peter

> diff --git a/hw/xfree86/os-support/linux/lnx_axp.c b/hw/xfree86/os-support/linux/lnx_axp.c
> index 8571c04..34129cc 100644
> --- a/hw/xfree86/os-support/linux/lnx_axp.c
> +++ b/hw/xfree86/os-support/linux/lnx_axp.c
> @@ -125,12 +125,12 @@ extern unsigned int _dense_inb(unsigned long);
>  extern unsigned int _dense_inw(unsigned long);
>  extern unsigned int _dense_inl(unsigned long);
>  
> -void (*_alpha_outb)(char, unsigned long) = _outb;
> -void (*_alpha_outw)(short, unsigned long) = _outw;
> -void (*_alpha_outl)(int, unsigned long) = _outl;
> -unsigned int (*_alpha_inb)(unsigned long) = _inb;
> -unsigned int (*_alpha_inw)(unsigned long) = _inw;
> -unsigned int (*_alpha_inl)(unsigned long) = _inl;
> +_X_EXPORT void (*_alpha_outb)(char, unsigned long) = _outb;
> +_X_EXPORT void (*_alpha_outw)(short, unsigned long) = _outw;
> +_X_EXPORT void (*_alpha_outl)(int, unsigned long) = _outl;
> +_X_EXPORT unsigned int (*_alpha_inb)(unsigned long) = _inb;
> +_X_EXPORT unsigned int (*_alpha_inw)(unsigned long) = _inw;
> +_X_EXPORT unsigned int (*_alpha_inl)(unsigned long) = _inl;
>  
>  static long _alpha_iobase_query(unsigned, int, int, int);
>  long (*_iobase)(unsigned, int, int, int) = _alpha_iobase_query;



More information about the xorg-devel mailing list