# 2.11BSD#431 - /usr/src/sys/pdp/psl.h

##### Macros

    PSL_ALLCC         X
    PSL_BR0           X
    PSL_BR1           X
    PSL_BR2           X
    PSL_BR3           X
    PSL_BR4           X
    PSL_BR5           X
    PSL_BR6           X
    PSL_BR7           X
    PSL_C             X
    PSL_CURMOD        X
    PSL_CURSUP        X
    PSL_IPL           X
    PSL_N             X
    PSL_PRVMOD        X
    PSL_T             X
    PSL_USERCLR       X
    PSL_USERSET       X
    PSL_V             X
    PSL_Z             X

       1: /*
       2:  * Copyright (c) 1986 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)psl.h	1.1 (2.10BSD Berkeley) 12/1/86
       7:  */
       8:
       9: /*
      10:  * PDP program status longword
      11:  */
      12:
      13: #define PSL_C       0x00000001  /* carry bit */
      14: #define PSL_V       0x00000002  /* overflow bit */
      15: #define PSL_Z       0x00000004  /* zero bit */
      16: #define PSL_N       0x00000008  /* negative bit */
      17: #define PSL_ALLCC   0x0000000f  /* all cc bits - unlikely */
      18: #define PSL_T       0x00000010  /* trace enable bit */
      19: #define PSL_IPL     0x000000e0  /* interrupt priority level */
      20: #define PSL_PRVMOD  0x00003000  /* previous mode (all on is user) */
      21: #define PSL_CURMOD  0x0000c000  /* current mode (all on is user) */
      22: #define PSL_CURSUP  0x00004000  /* current supervisor previous kernel */
      23: #define PSL_BR0     0x00000000  /* bus request level 0 */
      24: #define PSL_BR1     0x00000020  /* bus request level 1 */
      25: #define PSL_BR2     0x00000040  /* bus request level 2 */
      26: #define PSL_BR3     0x00000060  /* bus request level 3 */
      27: #define PSL_BR4     0x00000080  /* bus request level 4 */
      28: #define PSL_BR5     0x000000a0  /* bus request level 5 */
      29: #define PSL_BR6     0x000000c0  /* bus request level 6 */
      30: #define PSL_BR7     0x000000e0  /* bus request level 7 */
      31:
      32: #define PSL_USERSET (PSL_PRVMOD|PSL_CURMOD)
      33: #define PSL_USERCLR PSL_IPL     /* must be clear in user mode */

#### Defined macros

PSL_ALLCC defined in line 17; never used
PSL_BR0 defined in line 23; used 3 times

- in /usr/src/sys/autoconfig/attach.c line 51, 79
- in /usr/src/sys/autoconfig/do_config.c line 309

PSL_BR1 defined in line 24; never used
PSL_BR2 defined in line 25; never used
PSL_BR3 defined in line 26; never used
PSL_BR4 defined in line 27; used 3 times

- in /usr/src/sys/autoconfig/attach.c line 104
- in /usr/src/sys/pdpif/if_qe.c line 257
- in /usr/src/sys/pdpif/if_qt.c line 213

PSL_BR5 defined in line 28; used 1 times

- in /usr/src/sys/autoconfig/attach.c line 106

PSL_BR6 defined in line 29; used 1 times

- in /usr/src/sys/autoconfig/attach.c line 108

PSL_BR7 defined in line 30; used 8 times

- in /usr/src/sys/autoconfig/attach.c line 113
- in /usr/src/sys/autoconfig/do_config.c line 228, 252, 278, 335-338(3), 348

PSL_C defined in line 13; used 2 times

- in /usr/src/sys/pdp/trap.c line 362, 372

PSL_CURMOD defined in line 21; used 3 times

- in line 32
- in /usr/src/sys/pdpstand/sys.c line 734, 754

PSL_CURSUP defined in line 22; used 2 times

- in /usr/src/sys/pdpif/if_qe.c line 257
- in /usr/src/sys/pdpif/if_qt.c line 213

PSL_IPL defined in line 19; used 1 times

- in line 33

PSL_N defined in line 16; never used
PSL_PRVMOD defined in line 20; used 1 times

- in line 32

PSL_T defined in line 18; used 4 times

- in /usr/src/sys/pdp/machdep.c line 116
- in /usr/src/sys/pdp/trap.c line 143, 163
- in /usr/src/sys/sys/sys_process.c line 179

PSL_USERCLR defined in line 33; used 2 times

- in /usr/src/sys/pdp/machdep.c line 141
- in /usr/src/sys/sys/sys_process.c line 161

PSL_USERSET defined in line 32; used 1 times

- in /usr/src/sys/sys/sys_process.c line 160

PSL_V defined in line 14; never used
PSL_Z defined in line 15; never used

#### Usage of this include

psl.h used 12 times

- in /usr/src/sys/autoconfig/attach.c line 22
- in /usr/src/sys/autoconfig/do_config.c line 15
- in /usr/src/sys/pdp/machdep.c line 10
- in /usr/src/sys/pdp/trap.c line 10
- in /usr/src/sys/pdpif/if_qe.c line 111
- in /usr/src/sys/pdpif/if_qt.c line 57
- in /usr/src/sys/pdpstand/sys.c line 13
- in /usr/src/sys/sys/kern_clock.c line 10
- in /usr/src/sys/sys/kern_exit.c line 10
- in /usr/src/sys/sys/sys_net.c line 23
- in /usr/src/sys/sys/sys_process.c line 10
- in /usr/src/sys/sys/uipc_syscalls.c line 12

Last modified: 1988-01-27 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 805 |