> Here is the patch I've been working on (before I 1st got BDE's reply).
> The changes are mostly from OpenBSD + style changes for the way we do
> things. Can you also test this one?
>
>
> Index: bus.h
> ===================================================================
> RCS file: /home/ncvs/src/sys/i386/include/bus.h,v
> retrieving revision 1.6
> diff -u -r1.6 bus.h
> --- bus.h 1999/08/28 00:44:07 1.6
> +++ bus.h 1999/11/06 21:42:15
> @@ -252,15 +252,14 @@
> else
> #endif
> {
> - int __x __asm__("%eax");
> __asm __volatile(" \n\
> cld \n\
> - 1: movb (%1),%%al \n\
> + 1: movb (%2),%%al \n\
> stosb \n\
> loop 1b" :
> - "=&a" (__x) :
> - "r" (bsh + offset), "D" (addr), "c" (count) :
> - "%edi", "%ecx", "memory");
> + "=D" (addr), "=c" (count) :
> + "r" (bsh + offset), "0" (addr), "1" (count) :
> + "%eax", "memory");
> }
> #endif
> }
You may use "+D" and "+c" for the in-out operands,
"+D" (addr), "+c" (count) :
"r" (bsh + offset) :
-lq
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message