1 /* BEGIN INCLUDE FILE .. syserr_binary_def.incl.pl1 */
  2 
  3 /* This include file has an ALM version, keep 'em in sync. */
  4 
  5 /* format: off */
  6 
  7 /* Modified January 1984 by Paul Farley to add an array of entry values
  8    to be examined by display_cpu_error. */
  9 /* Modified October 1984 by EJ Sharpe to include SB_audit_message */
 10 /* Modified January 1985 by EJ Sharpe for SB_char_data_classes */
 11 /* Modified 1985-01-25, BIM: added ring alarm audit support. */
 12 /* Modified 1985-02-20, EJ Sharpe: added SB_ibm3270_mde, syserr_binary_(seg vol)damage_class,
 13                     also changed some codes to "SB_unused_NN" - see line comments */
 14 
 15 /* In the future, these will be the only constants needed in this include
 16 file.  They are the binary data class strings for messages in the new format
 17 syserr logs.  The names are all of the form SB_ZZZZZZZ_data_class where
 18 ZZZZZZZ is the value of the data class string.  Message expanders are named
 19 expand_ZZZZZZZ_msg_ and are referenced by the log perusal tools. */
 20 
 21 dcl (                                                       /* include file name */
 22 SB_io_status_data_class       init ("io_status"),           /* io_syserr_msg */
 23 SB_hwfault_data_class         init ("hwfault"),             /* syserr_fault_msg */
 24 SB_mos_data_class             init ("mos"),                 /* scr */
 25 SB_segdamage_data_class       init ("segdamage"),           /* segdamage_msg */
 26 SB_voldamage_data_class       init ("voldamage"),           /* segdamage_msg (first two words) */
 27 SB_mdc_del_uidpath_data_class init ("mdc_del_uidpath"),     /* none - 16 word UID path */
 28 SB_mmdam_data_class           init ("mmdam"),               /* syserr_mmdam_msg */
 29 SB_mpc_poll_data_class        init ("mpc_poll"),            /* poll_mpc_data */
 30 SB_fnp_poll_data_class        init ("fnp_poll"),            /* poll_fnp_data */
 31 SB_config_deck_data_class     init ("config_deck"),         /* config_deck */
 32 SB_vtoce_data_class           init ("vtoce"),               /* vtoce */
 33 SB_access_audit_data_class    init ("access_audit"),        /* access_audit_bin_header */
 34 SB_ibm3270_mde_data_class     init ("ibm3270_mde")          /* ibm3270_mpx_data */
 35 ) static internal char (16) varying options (constant);
 36 
 37 
 38 /************************
 39 Once the syserr$binary is replaced with something that takes real data classes
 40 and all system modules and tools are upgraded to use the new interface, the
 41 rest of this include file may be discarded.
 42 ************************/
 43 
 44 /* The limit of 36 is arbitrary- there is no reason that it can not be
 45    extended at any time. */
 46 
 47 dcl (
 48 SB_disk_err         init (1),           SBL_disk_err        init (5),
 49 SB_hw_fault         init (2),           SBL_hw_fault        init (176),
 50 SB_io_err           init (3),           SBL_io_err          init (5),
 51 SB_unused_4         init (4),           SBL_unused_4        init (1), /* was "mos_poll" (mos poll time) */
 52 SB_mos_err          init (5),           SBL_mos_err         init (2), /* mos memory error data */
 53 SB_unused_6         init (6),           SBL_unused_6        init (1), /* was "bulk_status" (bulk dcb status) */
 54 SB_unused_7         init (7),           SBL_unused_7        init (1), /* was "bulk_csb" (bulk csb status) */
 55 SB_unused_8         init (8),           SBL_unused_8        init (3), /* was "free_st_1" */
 56 SB_unused_9         init (9),           SBL_unused_9        init (2), /* was "free_st_2" */
 57 SB_unused_10        init (10),          SBL_unused_10       init (21), /* was "unpr_add" */
 58 SB_zerpag           init (11),          SBL_zerpag          init (20),
 59 SB_unused_12        init (12),          SBL_unused_12       init (20), /* was "unpr_add" */
 60 SB_vtoc_salv_dam    init (13),          SBL_vtoc_salv_dam   init (20),
 61 SB_unused_14        init (14),          SBL_unused_14       init (20), /* was "page_rw_err" */
 62 SB_unused_15        init (15),          SBL_unused_15       init (3), /* was "ruad" */
 63 SB_random_segdamage init (16),          SBL_random_segdamage init (20),
 64 SB_read_nc          init (17),          SBL_read_nc         init (2),
 65 SB_unused_18        init (18),          SBL_unused_18       init (2), /* was "vtoc_err" */
 66 SB_mdc_del_uidpath  init (19),          SBL_mdc_del_uidpath init (16),
 67 SB_ocdcm_err        init (20),          SBL_ocdcm_err       init (5),
 68 SB_mmdam            init (21),          SBL_mmdam           init (2),
 69 SB_verify_lock      init (22),          SBL_verify_lock     init (176),
 70 SB_io_err_detail    init (23),          SBL_io_err_detail   init (11),
 71 SB_mpc_poll         init (24),          SBL_mpc_poll        init (256) /* max */,
 72 SB_fnp_poll         init (25),          SBL_fnp_poll        init (256) /* max */,
 73 SB_config_deck      init (26),          SBL_config_deck     init (256) /* 16 cards at 16 words */,
 74 SB_vtoce            init (27),          SBL_vtoce           init (192),    /* 1 VTOCE */
 75 SB_access_audit     init (28),          SBL_access_audit    init (256), /* max */
 76 SB_ibm3270_mde      init (35),          SBL_ibm3270_mde     init (256), /* max */
 77 SB_end_of_table     init (36),          SBL_end_of_table    init (1)
 78   ) internal static options (constant) fixed bin;
 79 
 80 
 81 /* The following array is a mapping of the old syserr$binary codes into the
 82 new data classes for MR11.  It is primarily used by syserr_copy to translate
 83 the binary data codes stored in the wired syserr log (see above) into the data
 84 classes needed by the ring-0 paged syserr log which is a new format log.  It
 85 is also used by syserr_log_util_ to translate the data classes back into the
 86 corresponding binary code (for tools not yet upgraded to deal with the new
 87 format log messages). */
 88 
 89 dcl SB_char_data_classes (36) char (16) varying internal static options (constant)
 90           init (    "io_status",                  /* 1 */
 91                     "hwfault",                    /* 2 */
 92                     "io_status",                  /* 3 */
 93                     "unused_4",                   /* 4 */
 94                     "mos",                        /* 5 */
 95 
 96                     "unused_6",                   /* 6 */
 97                     "unused_7",                   /* 7 */
 98                     "unused_8",                   /* 8 */
 99                     "unused_9",                   /* 9 */
100                     "unused_10",                  /* 10 */
101 
102                     "segdamage",                  /* 11 */
103                     "unused_12",                  /* 12 */
104                     "segdamage",                  /* 13 */
105                     "unused_14",                  /* 14 */
106                     "unused_15",                  /* 15 */
107 
108                     "segdamage",                  /* 16 */
109                     "voldamage",                  /* 17 */
110                     "unused_18",                  /* 18 */
111                     "mdc_del_uidpath",            /* 19 */
112                     "io_status",                  /* 20 */
113 
114                     "mmdam",                      /* 21 */
115                     "hwfault",                    /* 22 */
116                     "io_status",                  /* 23 */
117                     "mpc_poll",                   /* 24 */
118                     "fnp_poll",                   /* 25 */
119 
120                     "config_deck",                /* 26 */
121                     "vtoce",                      /* 27 */
122                     "access_audit",               /* 28 */
123                     "unused_29",                  /* 29 */
124                     "unused_30",                  /* 30 */
125                     "unused_31",                  /* 31 */
126                     "unused_32",                  /* 32 */
127                     "unused_33",                  /* 33 */
128                     "unused_34",                  /* 34 */
129                     "ibm3270_mde",                /* 35 */
130                     "unused_36"                   /* 36 */
131           );
132 
133 
134 /* format: on */
135 
136 /* These constants are used by various tools which analyze syserr messages and
137 still call the old interface "syserr_log_util_". */
138 
139      dcl     syserr_binary_mos_mask init ("060000000000"b3) bit (36) static options (constant);
140      dcl     syserr_binary_seg_damage_mask init ("000374000000"b3) bit (36) static options (constant);
141      dcl     syserr_binary_vol_damage_mask init ("003413000000"b3) bit (36) static options (constant);
142      dcl     syserr_binary_address_damage_mask init ("002010000000"b3) bit (36) static options (constant);
143 
144      dcl     display_cpu_error_binary_defs (2) init (
145                                     2,                      /** SB_hw_fault */
146                                     22                      /** SB_verify_lock */
147                                     ) internal static options (constant) fixed bin;
148 
149 /* END INCLUDE FILE syserr_binary_def.incl.pl1 */