
{  This deck defines the system status record (SSR) entry constants.  These are the four character names that
{  identify each SSR entry.  The SSR is addressed by PP programs, Cyber 170 programs and NOS/VE system
{  programs.  Therefore, the format has not been rigorously defined with Cybil type definitions (it still
{  probably should be).  The SSR entry is always one 64 bit word, the left half of the word (32 bits) is the
{  four ascii characters identifying the entry, the right half of the word (32 bits) is either entry
{  information or the length in words (16 bits) and offset in words (16 bits) from the begining of the SSR
{  of a sequence containing the entry information.
{
{  NOTE:
{    There is a another deck, dsm$system_status_record, which defines the SSR contents.  When an entry
{    is added to this deck it must also be added to that deck.

  CONST

    { The SSRD entry defines the SSR directory.  It is in the sequence pointer format, the offset is relative
    { to this entry and the length is the length of the SSR directory.

    dsc$ssr_directory = 'SSRD',

    { The SSRS entry defines the total length of the SSR.  It is in the sequence pointer format.

    dsc$ssr_total_length = 'SSRS',

    dsc$ssr_deadstart_type = 'DTYP',
    dsc$ssr_run_sequencing = 'RUNS',
    dsc$ssr_deadstart_state = 'SDST',
    dsc$ssr_termination_status = 'BYVE',

    { The IMGS entry is used to make a decision on writing or not writing the image file.  This entry is in
    { the value format.  The values it has and their meaning are as follows:
    {      = 0 implies setup to write image file.
    {      = 1 implies write image file.
    {      = 2 implies image file write complete.
    {      = 3 implies that the SSR has been loaded from CIP and all values are the initial values.  Memory
    {          can not be used for recovery.

    dsc$ssr_image_state = 'IMGS',

    { The IMGL entry defines the length of the memory image.  This entry is in the value format.

    dsc$ssr_image_length = 'IMGL',

    { The IMGO entry defines the offset to the memory image in the recovery device file.  This entry is in
    { the value format.

    dsc$ssr_image_offset = 'IMGO',

    { The C80B entry defines the buffer for the 170 to 180 deadstart communication.  It is in the sequence
    { pointer format.

    dsc$ssr_c180_transfer_buffer = 'C80B',

    { The C70B entry defines the buffer for the 180 to 170 deadstart communication.  It is in the sequence
    { pointer format.

    dsc$ssr_c170_transfer_buffer = 'C70B',

    { The MEMB entry defines the buffer that contains the address of the contiguous memory locations
    { where the memory that VCB is loaded into is copied before VCB is loaded.  This memory is not
    { recovered so it can not contain information relevant to the recovery.  What is there is the
    { monitor segment and stacks and the job fixed segment of the system monitor job.  It is desirable
    { for the size of this area to be smaller than the parts that are loaded into it, if it is not
    { this memory is lost to the running system.  The address of the buffer is defined in 2 halfword
    { values, the left half is the beginning rma in r register format and the right half is the
    { the length in r register format.  The entry is in the sequence pointer format.

    dsc$ssr_boot_memory_bounds = 'MEMB',

    { The DPNL entry defines the buffer where the deadstart panel image is saved.  It is in the sequence
    { pointer format.

    dsc$ssr_deadstart_panel = 'DPNL',

    { The DFTB entry defines the buffer for passing NOS/VE system requests to DFT.  It is in the sequence
    { pointer format.

    dsc$ssr_dft_buffer = 'DFTB',

    dsc$ssr_smu_buffer = 'SMUB',

    { The BPTR entry defines a buffer of sequence pointers.  The sequence pointers point to data in the boot
    { that has to be accessed from system core.  This entry is in the sequence pointer format.

    dsc$ssr_boot_pointer_area = 'BPTR',

    { The NAME entry defines a buffer that contains the recovery state of memory (the SSR).  The buffer
    { contains ascii character strings that describe the state.  It indicates whether the memory image
    { is present and in good shape.  It is set at system commit time.  System commit time is that point
    { at which the system is in a state where doing a deadstart will recover the system that was running.
    { This entry is in the sequence pointer format.

    dsc$ssr_image_status = 'NAME',

    { The VEPP entry defines the buffer for keeping track of PPs and channels assigned to NOS/VE.  It is in
    { the sequence pointer format.

    dsc$ssr_resource_assignment = 'VEPP',

    { The HDWR entry defines a buffer to save the CPU register values of the most recently deadstarted NOS/VE
    { system.  The entries in the buffer are in five word groups.  The first word in each group defines four
    { register numbers, 16 bits for each register, followed by the corresponding register value starting with
    { the left most register number.  This entry is in the sequence pointer format.

    dsc$ssr_initial_cpu_registers = 'HDWR',

    { The DSAV entry defines a buffer to save the CPU register values for EI.  The entries in the buffer are
    { in the same format as those defined for HDWR.  This entry is in the sequence pointer format.

    dsc$ssr_deadstart_save_area = 'DSAV',

    { The RSAV entry defines a buffer to save the CPU register values of the host operating system when
    { switching from 170 to dual state mode of operation.  The entries in the buffer are in the same format
    { as those defined in HDWR.  This entry is in the sequence pointer format.

    dsc$ssr_recovery_save_area = 'RSAV',

    dsc$ssr_pointer_save_area = 'CREP',

    dsc$ssr_driver_code_buffer = 'DRCP',

    { The PPBF entry defines a buffer of contiguous memory.  These memory locations are used for loading and
    { dumping PPs and some CTI interfaces.  This entry is in the sequence pointer format.

    dsc$ssr_pp_controlware_buf = 'PPBF',

    { The RIHT entry defines a buffer for the modify bit map of the page table.  It is in the sequence
    { pointer format.

    dsc$ssr_modify_bit_map_pt = 'RIHT',

    { The SYSL entry defines the SSR system level number.  This entry is in the value format.  It contains the
    { system level number that is checked by system core to determine compatibility between the system core
    { and the boot.  The values are setup in the deck dsm$system_status_record which contains the PP code for
    { the SSR.

    dsc$ssr_system_level_number = 'SYSL',

    { The DFTS entry defines the offset and length of the second DFT buffer.  This entry is in the sequence
    { pointer format.  DFTS contains a mini DFT buffer used for communication purposes by the primary and
    { secondary DFT.  As of version 6 DFT, this entry will no longer contain valid information.  The entry
    { is left intact for back level support.  Non dual I4 systems running with a version 6 DFT will expect
    { this area to be zeros.

    dsc$ssr_secondary_dft_block = 'DFTS',

    { The SCIR entry defines a request area for SCI to use.  This entry is in the sequence pointer format.

    dsc$ssr_sci_request_area = 'SCIR',

    { The STAT entry contains data for the System Deadstart Status statistic.  This entry is in the sequence
    { pointer format.

    dsc$ssr_system_deadstart_status = 'STAT',

    { The SCKS entry contains the SSR checksum used by VPB to verify the SSR directory in memory.  It is in
    { the value format.

    dsc$ssr_checksum = 'SCKS',

    { The WAIT entry contains the operator intervention flag from CTI or from the NVE subsystems.  SCI picks
    { up this information from CTI through the MRT and places the value in this entry OR the NVE subsystem
    { Places the wait information in this entry.  This entry is in the value format.

    dsc$ssr_operator_intervention = 'WAIT',

    { The SCPT entry defines an area to be used for the SCI Parameter Table when not allocated by NOS, NOS/BE,
    { or SCI during the standalone deadstart process.  This entry is in the sequence pointer format.

    dsc$ssr_sci_parameter_table = 'SCPT',

    dsc$ssr_directory_end = 'SSDE';
