1: #include "DEFS.h"
2: ENTRY(_spltty)
3: movb $40*5,177776
4: rts pc
5:
6: / C call "_spltty();" will set processor priority to 5
7:
8: / The entry is not implemented in 2.11BSD by an explicit routine but
9: / translated into inline code equivalent to the routine above by a sed
10: / script during the compilation of kernel code.
11:
12: ENTRY(spltty)
13: movb 177776,r0
14: movb $40*5,177776
15: rts pc
16:
17: / C call "opri = spltty();" will set processor priority to 5
18: / and return the current processor priority
19:
20: / The entry is not implemented in 2.11BSD by an explicit routine but
21: / translated into inline code equivalent to the routine above by a sed
22: / script during the compilation of kernel code.
Defined functions
_spltty
defined in line
12; used 48 times
- in /usr/src/sys/pdp/cons.c line
154
- in /usr/src/sys/pdpuba/dh.c line
150,
407,
518,
581,
613,
678
- in /usr/src/sys/pdpuba/dhu.c line
138,
446,
541,
610,
648
- in /usr/src/sys/pdpuba/dhv.c line
152,
466,
584,
653,
694
- in /usr/src/sys/sys/subr_prf.c line
321
- in /usr/src/sys/sys/tty.c line
157,
171,
184,
255,
361,
410,
419,
448,
611,
1082,
1149,
1174,
1207,
1272,
1294,
1329,
1455,
1525,
1599
- in /usr/src/sys/sys/tty_pty.c line
337
- in /usr/src/sys/sys/tty_subr.c line
38,
99,
171,
221,
283,
345,
460,
509,
548,
592