On Sat, Jan 19, 2002 at 01:33:30PM +0000, Alan Hourihane wrote:
> I basically copied the PPC code and tested it on my Amiga 040
> (WarpEngine) and it worked fine. I guessed as much that the icache
> flushing wouldn't work for other machines though.
> 
> Can't we just use the routines from asm/pgalloc.h, but we need to
> determine the CPU type from user space. We can redefine an
> icache_flush() routine in
> xc/programs/Xserver/hw/xfree86/common/compiler.h just like the PPC.

No, the cache flushing instructions on m68k are supervisor only. That's why
we have a cacheflush() system call.
 
> If someone creates it, I'll get it committed to XFree86.

I'll do that, I'm a member of XFree86 as well.

Kars.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to