xref: /original-bsd/sys/hp300/include/mtpr.h (revision 3705696b)
1 /*
2  * Copyright (c) 1988 University of Utah.
3  * Copyright (c) 1990, 1993
4  *	The Regents of the University of California.  All rights reserved.
5  *
6  * This code is derived from software contributed to Berkeley by
7  * the Systems Programming Group of the University of Utah Computer
8  * Science Department.
9  *
10  * %sccs.include.redist.c%
11  *
12  * from: Utah $Hdr: mtpr.h 1.1 90/07/09$
13  *
14  *	@(#)mtpr.h	8.1 (Berkeley) 06/10/93
15  */
16 
17 /*
18  * simulated software interrupt register
19  */
20 
21 extern unsigned char ssir;
22 
23 #define SIR_NET		0x1
24 #define SIR_CLOCK	0x2
25 
26 #define siroff(x)	ssir &= ~(x)
27 #define setsoftnet()	ssir |= SIR_NET
28 #define setsoftclock()	ssir |= SIR_CLOCK
29