James Simmons <[EMAIL PROTECTED]> writes:

> Howdy!
> 
>   Passing this along from the GLX list. It appears you can't use memset to
> filling in pixel values for the framebuffer on a PowerPC. 
> 
> > >> One interesting thing I ran into today:  memsets use the PPC dcbz
> (data
> > >> cache block zero) instruction, which is a Good Thing, but it causes a
> bus
> > >> error if you do it to the framebuffer, which is marked as uncachable. 
> That
> > >> threw me for a while.
> > >
> 
>   Ah nice catch, now i know why ggi fails with fbdev in ppc :)

Ah, the wonderful world of dcbz. Caused me about a full work-week
of debugging glibc some months ago.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: [EMAIL PROTECTED]

Reply via email to