FreeBSD/Linux Kernel Cross Reference
sys/i386/ipl.h
1 /*
2 * Mach Operating System
3 * Copyright (c) 1991,1990,1989 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the
9 * software, derivative works or modified versions, and any portions
10 * thereof, and that both notices appear in supporting documentation.
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 *
16 * Carnegie Mellon requests users of this software to return to
17 *
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie Mellon
24 * the rights to redistribute these changes.
25 */
26 /*
27 * HISTORY
28 * $Log: ipl.h,v $
29 * Revision 2.7 93/05/15 19:30:27 mrt
30 * machparam.h -> machspl.h
31 *
32 * Revision 2.6 93/01/14 17:29:10 danner
33 * Proper spl typing.
34 * [92/11/30 af]
35 *
36 * Revision 2.5 91/05/14 16:10:22 mrt
37 * Correcting copyright
38 *
39 * Revision 2.4 91/02/05 17:12:35 mrt
40 * Changed to new Mach copyright
41 * [91/02/01 17:35:22 mrt]
42 *
43 * Revision 2.3 90/11/26 14:48:35 rvb
44 * Change Prime copyright as per Peter J. Weyman authorization.
45 * [90/11/19 rvb]
46 * Add ivect, iunit, and intpri declarations.
47 * [90/06/15 rvb]
48 *
49 * Revision 2.2 89/09/25 12:32:26 rvb
50 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Prime Computer, Inc.
51 * [89/09/23 rvb]
52 *
53 */
54
55 /*
56 Copyright (c) 1988,1989 Prime Computer, Inc. Natick, MA 01760
57 All Rights Reserved.
58
59 Permission to use, copy, modify, and distribute this
60 software and its documentation for any purpose and
61 without fee is hereby granted, provided that the above
62 copyright notice appears in all copies and that both the
63 copyright notice and this permission notice appear in
64 supporting documentation, and that the name of Prime
65 Computer, Inc. not be used in advertising or publicity
66 pertaining to distribution of the software without
67 specific, written prior permission.
68
69 THIS SOFTWARE IS PROVIDED "AS IS", AND PRIME COMPUTER,
70 INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
71 SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
72 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN
73 NO EVENT SHALL PRIME COMPUTER, INC. BE LIABLE FOR ANY
74 SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
75 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
76 PROFITS, WHETHER IN ACTION OF CONTRACT, NEGLIGENCE, OR
77 OTHER TORTIOUS ACTION, ARISING OUR OF OR IN CONNECTION
78 WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
79 */
80
81
82 #define SPL0 0
83 #define SPL1 1
84 #define SPL2 2
85 #define SPL3 3
86 #define SPL4 4
87 #define SPL5 5
88 #define SPL6 6
89
90 #define SPLPP 5
91 #define SPLTTY 6
92 #define SPLNI 6
93
94 #define IPLHI 8
95 #define SPL7 IPLHI
96 #define SPLHI IPLHI
97
98 #ifdef KERNEL
99 #ifndef ASSEMBLER
100 #include <machine/machspl.h>
101 extern int (*ivect[])();
102 extern int iunit[];
103 extern unsigned char intpri[];
104 #endif ASSEMBLER
105 #endif KERNEL
Cache object: 55b2d6936024a1e32efc5e169f296bf8
|