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_BR1 defined in line 24; never used
PSL_BR2 defined in line 25; never used
PSL_BR3 defined in line 26; never used
PSL_BR5 defined in line 28; used 1 times
PSL_BR6 defined in line 29; used 1 times
PSL_C defined in line 13; used 2 times
PSL_CURMOD defined in line 21; used 3 times
PSL_CURSUP defined in line 22; used 2 times
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_USERCLR defined in line 33; used 2 times
PSL_USERSET defined in line 32; used 1 times
PSL_V defined in line 14; never used
PSL_Z defined in line 15; never used

Usage of this include

Last modified: 1988-01-27
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 3122
Valid CSS Valid XHTML 1.0 Strict