xref: /csrg-svn/sys/hp300/include/mtpr.h (revision 63160)
141474Smckusick /*
241474Smckusick  * Copyright (c) 1988 University of Utah.
3*63160Sbostic  * Copyright (c) 1990, 1993
4*63160Sbostic  *	The Regents of the University of California.  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  *
1245471Smckusick  * from: Utah $Hdr: mtpr.h 1.1 90/07/09$
1341474Smckusick  *
14*63160Sbostic  *	@(#)mtpr.h	8.1 (Berkeley) 06/10/93
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