xref: /csrg-svn/sys/hp300/include/mtpr.h (revision 45471)
141474Smckusick /*
241474Smckusick  * Copyright (c) 1988 University of Utah.
341474Smckusick  * Copyright (c) 1990 The Regents of the University of California.
441474Smckusick  * All rights reserved.
541474Smckusick  *
641474Smckusick  * This code is derived from software contributed to Berkeley by
741474Smckusick  * the Systems Programming Group of the University of Utah Computer
841474Smckusick  * Science Department.
941474Smckusick  *
1041474Smckusick  * %sccs.include.redist.c%
1141474Smckusick  *
12*45471Smckusick  * from: Utah $Hdr: mtpr.h 1.1 90/07/09$
1341474Smckusick  *
14*45471Smckusick  *	@(#)mtpr.h	7.2 (Berkeley) 11/03/90
1541474Smckusick  */
1641474Smckusick 
1741474Smckusick /*
1841474Smckusick  * simulated software interrupt register
1941474Smckusick  */
2041474Smckusick 
2141474Smckusick extern unsigned char ssir;
2241474Smckusick 
2341474Smckusick #define SIR_NET		0x1
2441474Smckusick #define SIR_CLOCK	0x2
2541474Smckusick 
2641474Smckusick #define siroff(x)	ssir &= ~(x)
2741474Smckusick #define setsoftnet()	ssir |= SIR_NET
2841474Smckusick #define setsoftclock()	ssir |= SIR_CLOCK
29