4.4BSD snapshot (revision 8.1)
[unix-history] / usr / src / sys / hp300 / include / mtpr.h
CommitLineData
88a7e859
KM
1/*
2 * Copyright (c) 1988 University of Utah.
df7778ec
KB
3 * Copyright (c) 1990, 1993
4 * The Regents of the University of California. All rights reserved.
88a7e859
KM
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 *
21802af3 12 * from: Utah $Hdr: mtpr.h 1.1 90/07/09$
88a7e859 13 *
df7778ec 14 * @(#)mtpr.h 8.1 (Berkeley) %G%
88a7e859
KM
15 */
16
17/*
18 * simulated software interrupt register
19 */
20
21extern 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