* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [060924 11:10]: > There was an error while trying to autobuild your package: > > The fic instruction requires a space id. For linux, it can simply be > changed to have a "4," after the left paren. For hp-ux compatibility, > and to not be depending on the way parisc linux vm works, it should do a > ldsid and mtsp... feel free to pester me to figure out the patch.
So this change should work? #include <stddef.h> void cacheflush(void * address, size_t size, size_t linewidth) { void *p=(void *)((size_t)address & (-linewidth)); for(; p<address+size;) asm volatile("fdc (%0)\n\t" "sync\n\t" - "fic,m %1(%0)\n\t" + "fic,m %1(4,%0)\n\t" "sync" : "+r"(p) : "r"(linewidth) : "memory" ); } Cheers, Andi -- http://home.arcor.de/andreas-barth/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]