!*** MODULE $DMPDEF *** CDEC$ OPTIONS /NOALIGN ! ! LAYOUT OF THE HEADER BLOCK OF THE SYSTEM DUMP FILE ! (WHICH IS THE FIRST DISK BLOCK OF SYS$SYSTEM:SYSDUMP.DMP) ! PARAMETER DMP$M_SELECT_DUMPSTYLE = '00000001'X PARAMETER DMP$M_FULL_MESSAGES = '00000002'X PARAMETER DMP$M_DO_DOSD = '00000004'X PARAMETER DMP$M_COMPRESSED_DUMP = '00000008'X PARAMETER DMP$M_IGN_DOSD_VOLLABEL_CHK = '00000010'X PARAMETER DMP$M_DOSD_IGNORE_SIZE_CHK = '00000200'X PARAMETER DMP$M_NO_DOTS = '00000400'X PARAMETER DMP$M_BUGCHECK_SQUARED = '00000800'X PARAMETER DMP$M_DOSD_7K_VALIDATE_PATHS = '00008000'X PARAMETER DMP$M_DOSD_7K = '0FFF0000'X PARAMETER DMP$M_OLDDUMP = '00000001'X PARAMETER DMP$M_EMPTY = '00000002'X PARAMETER DMP$M_HDRBLK = '00000004'X PARAMETER DMP$M_ERRLOG = '00000008'X PARAMETER DMP$M_MEMORY = '00000010'X PARAMETER DMP$M_SPT = '00000020'X PARAMETER DMP$M_WRITECOMP = '00000040'X PARAMETER DMP$M_ERRLOGCOMP = '00000080'X PARAMETER DMP$M_DUMP_STYLE = '00000F00'X PARAMETER DMP$M_DUMP_COPIED = '00001000'X PARAMETER DMP$M_DUMP_COPING = '00002000'X PARAMETER DMP$M_CLUE_SNAPDONE = '00004000'X PARAMETER DMP$M_DUMP_IN_USE = '00008000'X PARAMETER DMP$K_FULL_DUMP = '00000000'X ! FULL PHYSICAL MEMORY DUMP (OLD WAY) PARAMETER DMP$K_SUBSET_DUMP = '00000001'X ! SUBSETTED DUMP FILE (NOT ALL INFO SAVED) PARAMETER DMP$C_DUMP_LUMP = '0000007F'X ! NUMBER OF SPTES REQUIRED FOR SUBSET DUMPS PARAMETER DMP$M_COMPRESSED = '00000001'X PARAMETER DMP$M_NOTSAVED = '00000002'X PARAMETER DMP$M_VAXDUMP = '00000004'X PARAMETER DMP$M_ALPHADUMP = '00000008'X PARAMETER DMP$M_BITS_4_7 = '000000F0'X PARAMETER DMP$C_MEMDSCSIZ = '00000008'X ! SIZE OF ONE MEMORY DESCRIPTOR PARAMETER DMP$C_NMEMDSC = '00000008'X ! NUMBER OF MEMORY DESCRIPTORS PARAMETER DMP$K_DUMPVER = '00000530'X ! DUMP FILE VERSION NUMBER PARAMETER DMP$K_LENGTH = '00000084'X ! LENGTH OF FILE HEADER PARAMETER DMP$C_LENGTH = '00000084'X ! LENGTH OF FILE HEADER STRUCTURE /DMPDEF/ UNION MAP INTEGER*4 DMP$L_ERRSEQ ! LAST ERROR LOG SEQ. NUMBER END MAP MAP PARAMETER DMP$S_SELECT_DUMPSTYLE = 1 PARAMETER DMP$V_SELECT_DUMPSTYLE = 0 ! Differentiate between full and subset dumps PARAMETER DMP$S_FULL_MESSAGES = 1 PARAMETER DMP$V_FULL_MESSAGES = 1 ! To keep the risc and cisc platforms in step PARAMETER DMP$S_DO_DOSD = 1 PARAMETER DMP$V_DO_DOSD = 2 ! Requests for Dump Off System Disk behaviour PARAMETER DMP$S_COMPRESSED_DUMP = 1 PARAMETER DMP$V_COMPRESSED_DUMP = 3 ! PARAMETER DMP$S_IGN_DOSD_VOLLABEL_CHK = 1 PARAMETER DMP$V_IGN_DOSD_VOLLABEL_CHK = 4 ! Over-ride volume label check on DOSD device PARAMETER DMP$S_DOSD_IGNORE_SIZE_CHK = 1 PARAMETER DMP$V_DOSD_IGNORE_SIZE_CHK = 9 ! Allow > 2Meg full dumps PARAMETER DMP$S_NO_DOTS = 1 PARAMETER DMP$V_NO_DOTS = 10 ! Disallow printing them PARAMETER DMP$S_BUGCHECK_SQUARED = 1 PARAMETER DMP$V_BUGCHECK_SQUARED = 11 ! Prevent recursive bugchecks PARAMETER DMP$S_DOSD_7K_VALIDATE_PATHS = 1 PARAMETER DMP$V_DOSD_7K_VALIDATE_PATHS = 15 ! For Neon systems only, validate both paths to system disk PARAMETER DMP$S_DOSD_7K = 12 PARAMETER DMP$V_DOSD_7K = 16 ! For Neon systems only dump device 1 -> FFF BYTE %FILL (3) END MAP END UNION UNION MAP INTEGER*2 DMP$W_FLAGS ! DUMP FILE FLAGS END MAP MAP PARAMETER DMP$S_OLDDUMP = 1 PARAMETER DMP$V_OLDDUMP = 0 ! SET IF DUMP ALREADY ANALYZED PARAMETER DMP$S_EMPTY = 1 PARAMETER DMP$V_EMPTY = 1 ! SET IF DUMP HAS NO DATA BLOCKS PARAMETER DMP$S_HDRBLK = 1 PARAMETER DMP$V_HDRBLK = 2 ! SET IF ERROR WRITING FIRST BLOCK OF DUMP HEADER PARAMETER DMP$S_ERRLOG = 1 PARAMETER DMP$V_ERRLOG = 3 ! SET IF ERROR WRITING BLOCKS 2-3 OF DUMP HEADER PARAMETER DMP$S_MEMORY = 1 PARAMETER DMP$V_MEMORY = 4 ! SET IF ERROR WRITING MEMORY CONTENTS TO DUMP FILE PARAMETER DMP$S_SPT = 1 PARAMETER DMP$V_SPT = 5 ! SET IF ERROR WRITING SYSTEM PAGE TABLE BLOCKS TO DUMP FILE PARAMETER DMP$S_WRITECOMP = 1 PARAMETER DMP$V_WRITECOMP = 6 ! SET IF DUMP WRITE WAS COMPLETED PARAMETER DMP$S_ERRLOGCOMP = 1 PARAMETER DMP$V_ERRLOGCOMP = 7 ! SET IF HEADER/ERROR LOGS WRITE WAS COMPLETED PARAMETER DMP$S_DUMP_STYLE = 4 PARAMETER DMP$V_DUMP_STYLE = 8 ! SET TO DIFFERENTIATE BETWEEN DIFFERENT STYLE DUMPS PARAMETER DMP$S_DUMP_COPIED = 1 PARAMETER DMP$V_DUMP_COPIED = 12 ! Set if SDA has successfully copied this dump PARAMETER DMP$S_DUMP_COPING = 1 PARAMETER DMP$V_DUMP_COPING = 13 ! Set if this dump is being copied PARAMETER DMP$S_CLUE_SNAPDONE = 1 PARAMETER DMP$V_CLUE_SNAPDONE = 14 ! Set if CLUE has taken a snapshot of this dump PARAMETER DMP$S_DUMP_IN_USE = 1 PARAMETER DMP$V_DUMP_IN_USE = 15 BYTE %FILL (2) ! Set if this dump is being written END MAP ! DUMP_STYLE BITFIELD SETTINGS END UNION UNION MAP BYTE DMP$B_FLAGS2 ! More dump file flags END MAP MAP PARAMETER DMP$S_COMPRESSED = 1 PARAMETER DMP$V_COMPRESSED = 0 ! SET IF DUMP DATA IS COMPRESSED PARAMETER DMP$S_NOTSAVED = 1 PARAMETER DMP$V_NOTSAVED = 1 ! Set by SYSINIT if SAVEDUMP not set and dump in PAGEFILE.SYS PARAMETER DMP$S_VAXDUMP = 1 PARAMETER DMP$V_VAXDUMP = 2 ! Never set PARAMETER DMP$S_ALPHADUMP = 1 PARAMETER DMP$V_ALPHADUMP = 3 ! Always set PARAMETER DMP$S_BITS_4_7 = 4 PARAMETER DMP$V_BITS_4_7 = 4 BYTE %FILL (1) ! SPARE END MAP END UNION BYTE DMP$B_ERLBUFPAGES ! PAGES PER ERL BUFFER; IF ZERO, CORRECT VALUE IS ONE INTEGER*4 DMP$L_SBR ! SYSTEM BASE REGISTER INTEGER*4 DMP$L_SLR ! SYSTEM LENGTH REGISTER INTEGER*4 DMP$L_KSP ! KERNEL STACK POINTER INTEGER*4 DMP$L_ESP ! EXECUTIVE STACK POINTER INTEGER*4 DMP$L_SSP ! SUPERVISOR STACK POINTER INTEGER*4 DMP$L_USP ! USER STACK POINTER INTEGER*4 DMP$L_ISP ! INTERRUPT STACK POINTER UNION MAP INTEGER*4 %FILL(1:16) ! RESERVE SPACE FOR 8 MEMORY DESCRIPTORS (2 LONGWORDS EACH) END MAP MAP UNION MAP INTEGER*4 DMP$L_MEMDSC ! 8 MEMORY DESCRIPTORS END MAP MAP PARAMETER DMP$S_PAGCNT = 24 PARAMETER DMP$V_PAGCNT = 0 ! NUMBER OF PAGES IN MEMORY PARAMETER DMP$S_TR = 8 PARAMETER DMP$V_TR = 24 ! TR NUMBER FOR MEMORY PARAMETER DMP$S_BASEPFN = 32 PARAMETER DMP$V_BASEPFN = 32 BYTE %FILL (8) ! BASE PFN FOR MEMORY END MAP END UNION END MAP END UNION INTEGER*4 DMP$L_SYSVER ! SYSTEM VERSION NUMBER INTEGER*4 DMP$L_CHECK ! ONES COMPLEMENT OF SYSVER INTEGER*2 DMP$W_DUMPVER ! DUMP FILE VERSION NUMBER INTEGER*2 DMP$W_ERLBUFCNT ! NUMBER OF ERROR LOG BUFFERS INTEGER*2 DMP$W_ERLBUFHEAD ! RING BUFFER HEAD INDEX INTEGER*2 DMP$W_ERLBUFTAIL ! RING BUFFER TAIL INDEX INTEGER*4 DMP$L_ERRSTATUS ! LAST ERROR STATUS FROM DUMP WRITE INTEGER*4 DMP$L_DUMPERRS ! COUNT OF ERRORS DURING DUMP WRITE INTEGER*4 DMP$L_MEMPAGCNT ! COUNT OF MEMORY PAGES DUMPED INTEGER*4 DMP$L_SAVEPRCCNT ! COUNT OF SAVED PROCESSES (SUBSET DUMP) INTEGER*4 DMP$L_CRASHERL ! SYSTEM CRASH ERR LOG ENTRY END STRUCTURE ! DMPDEF CDEC$ END OPTIONS