add CTL_MACHDEP definitions
[unix-history] / usr / src / sys / hp300 / include / mtpr.h
CommitLineData
88a7e859
KM
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 *
21802af3 12 * from: Utah $Hdr: mtpr.h 1.1 90/07/09$
88a7e859 13 *
21802af3 14 * @(#)mtpr.h 7.2 (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