spl4() on ULTRIX-32 (RISC)

George Robbins grr at cbmvax.commodore.com
Sat Jul 7 06:26:54 AEST 1990


In article <13068 at cbmvax.commodore.com> grr at cbmvax (George Robbins) writes:
> In article <20850 at versatc.versatec.COM> tamura at versatc.versatec.COM (Mark Tamura) writes:
> > question: what is equivalent routine for spl4() on the ULTRIX-32 (RISC) V3.0
> > systems?  using spl4() seems to give me an unresolved reference.  is splbio()
> > an appropriate substitution?  thanks.
> 
> I think all the splx() references are normally expanded by "inline", which
> means that there are not neccessarily any real splx() subroutines to link
> to.  Try improving your compilation procedure to invoke inline and see if
> your problems go away - use the kernel makefile for reference.

Actually, the above is true for the VAX, but in the RISC version, they seem
to have disposed of inline and rely on compiler optimizations.  In this case I
don't know the exact answer to your question..

On the vax spl4() is between splnet() and spltty/splbio() in priority.
Interrupt levels on MIPS systems aren't quite what they are on the VAX,
see /sys/MIPS/machine/cpu.h for a little bit about the structure, and
/sys/MIPS/machine/locore.s for the implementations.

I'd guess splbio() would be a reasonable substitution for "block anything
but urgent terminal interrupts" and spltty() for block those also.  I think
it might also depend on the interrupt priority associated with your device.

-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr at cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)



More information about the Comp.unix.ultrix mailing list