Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / amigappc / include / psl.h
blob846cf3755d1f3d17aafb8f56770c75a37e22e615
1 /* $NetBSD: psl.h,v 1.1 2000/05/25 22:12:01 is Exp $ */
3 #ifndef _AMIGAPPC_PSL_H_
4 #define _AMIGAPPC_PSL_H_
6 #include <powerpc/psl.h>
8 /*
9 * Compatibility with m68k/include/psl.h for amiga/68k devices
11 /*XXX #define spl0() spllower(0)*/
12 #define spl1() spllower(1)
13 #define spl2() spllower(2)
14 #define spl3() spllower(3)
15 #define spl4() spllower(4)
16 #define spl5() spllower(5)
17 #define spl6() spllower(6)
18 #define spl7() spllower(7)
19 #define splraise0() splraise(0)
20 #define splraise1() splraise(1)
21 #define splraise2() splraise(2)
22 #define splraise3() splraise(3)
23 #define splraise4() splraise(4)
24 #define splraise5() splraise(5)
25 #define splraise6() splraise(6)
26 #define splraise7() splraise(7)
28 /* hack to make amiga device drivers compatible with P5_IPL_EMU */
29 #define PSL_S 0
30 #define PSL_IPL0 0
31 #define PSL_IPL1 1
32 #define PSL_IPL2 2
33 #define PSL_IPL3 3
34 #define PSL_IPL4 4
35 #define PSL_IPL5 5
36 #define PSL_IPL6 6
37 #define PSL_IPL7 7
39 #endif /* _AMIGAPPC_PSL_H_ */