xref: /original-bsd/sys/hp300/include/mtpr.h (revision 3d46ae69)
1 /*
2  * Copyright (c) 1988 University of Utah.
3  * Copyright (c) 1990 The Regents of the University of California.
4  * 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	7.2 (Berkeley) 11/03/90
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