Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



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@localhost     (Wolfgang Solfrank, TooLs GmbH)       +49-228-985800



Home | Main Index | Thread Index | Old Index