On Sun, Jan 20, 2002 at 02:01:57PM +0100, Kars de Jong wrote: > 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. > O.k. It should be simple enough to add that system call into the code at the same place the PPC code had the flush.
> > If someone creates it, I'll get it committed to XFree86. > > I'll do that, I'm a member of XFree86 as well. > Sorry Kars, I meant that I have commit access. Alan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

