Subject: Re: CVS commit: src
To: None <source-changes@netbsd.org, christos@netbsd.org>
From: Wolfgang Solfrank <ws@tools.de>
List: source-changes
Date: 01/26/1999 16:34:26
Hi,

> Modified Files:
> 	src/sys/arch/i386/include: intr.h
> Log Message:
> ifdef __ELF__ the softintr inline since we cannot use _C_LABEL to produce
> a name. XXX: Is there a better way?

What about
	__asm __volatile ("orl %1, %0" : "=m"(ipending) : "ir" (1 << mask));
?

Haven't tried it on ELF, but on a.out it works like expected, so it should
fit the bill perfectly.

Ciao,
Wolfgang
-- 
ws@TooLs.DE     (Wolfgang Solfrank, TooLs GmbH) 	+49-228-985800