;;; -*- Mode:LISP; Package:SYSTEM-INTERNALS; Base:8; Readtable:ZL -*- (DefConst sib-nvram-offset #xFA0000) (DEFCONST CRASH-RECORD-FORMAT-PROCESSOR-TYPE 0) (DEFCONST CRASH-RECORD-FORMAT-VERSION 1) (DEFCONST CRASH-RECORD-LENGTH 224.) (DEFCONST NVRAM-CRASH-BUFFER-FORMAT-PROCESSOR 128.) (DEFCONST NVRAM-CRASH-BUFFER-FORMAT-REV 136.) (DEFCONST NVRAM-CRASH-BUFFER-POINTER 144.) ; points to free crash record (DEFCONST NVRAM-CRASH-BUFFER-RECORD-LENGTH 152.) (DEFCONST NVRAM-CRASH-BUFFER-LAST 160.) (DEFCONST NVRAM-CRASH-BUFFER-BASE 168.) (DefConst NVRAM-MONITOR-UNIT 0) (DefConst NVRAM-MONITOR-SLOT 12.) (DefConst NVRAM-KEYBOARD-UNIT 16.) (DefConst NVRAM-KEYBOARD-SLOT 28.) (DefConst NVRAM-BOOT-UNIT 32.) (DefConst NVRAM-BOOT-SLOT 44.) (DefConst NVRAM-Reserved '((72. 80. 0.) (88. 96. 0.) (140. 144. 0.) (176. 240. 0.) (256. 8192. 255.))) (DefConst NVRAM-FORMAT-GENERATION-NUMBER 1) (DefConst NVRAM-FORMAT-REVISION-LEVEL 1) (DefConst NVRAM-GENERATION 48.) (DefConst NVRAM-REVISION 52.) (DefConst NVRAM-CRC 56.) (DefConst NVRAM-CONFIG-CHECKSUM 64.) (DefConst NVRAM-SHUTDOWN-VALID-CHARACTER 80.) (DefConst NVRAM-SHUTDOWN-CAUSE 84.) (DefConst NVRAM-BOOT-MONTH 96.) (DefConst NVRAM-BOOT-DAY 100.) (DefConst NVRAM-BOOT-HOUR 104.) (DefConst NVRAM-BOOT-MINUTE 108.) (DefConst NVRAM-SECONDS-SINCE-BOOT 112.) (DefConst NVRAM-START-UNALLOCATED-AREA 240.) (DefConst NVRAM-NUMBER-TYPED-BLOCKS 248.) ;;; CRO - Crash Record Offset (DefConst CRO-Progress 0) (DefConst CRO-CONTROLLER 4) (DefConst CRO-Ucode-Unit 8.) (DefConst CRO-Load-Unit 12.) (DefConst CRO-Ucode-Part 16.) (DefConst CRO-Load-Part 32.) (DefConst CRO-Ucode-Version 48.) (DefConst CRO-Load-Version 56.) (DefConst CRO-Load-Revision 64.) (DefConst CRO-BOOT-MONTH 72.) (DefConst CRO-BOOT-DAY 76.) (DefConst CRO-BOOT-YEAR 80.) (DefConst CRO-BOOT-HOUR 84.) (DefConst CRO-BOOT-MINUTE 88.) (DefConst CRO-CURRENT-MONTH 92.) (DefConst CRO-CURRENT-DAY 96.) (DefConst CRO-CURRENT-YEAR 100.) (DefConst CRO-CURRENT-HOUR 104.) (DefConst CRO-CURRENT-MINUTE 108.) (DefConst CRO-Report-Flags 112.) (DefConst CRO-Halt-Addr 116.) (DefConst CRO-HALT-KIND 124.) (DefConst CRO-M-1 128.) (DefConst CRO-M-2 144.) (DefConst CRO-MD 160.) (DefConst CRO-VMA 176.) (DefConst CRO-UPCSTK-0 192.) (DefConst CRO-UPCSTK-1 200.) (DefConst CRO-UPCSTK-2 208.) (DefConst CRO-UPCSTK-3 216.) (DefConst CREC-Progress-Decode '(0 INITIAL-VALUE 5. ALLOCATED-CRASH-RECORD 20. STARTING-LISP 30. LISP-REINITIALIZE 40. CRASH-LIST-STARTED 50. DONE-WITH-CRASH-LIST 60. SYSTEM-INITIALIZATIONS 70. COLD-INITIALIZATIONS 80. WARM-INITIALIZATIONS 90. TIME-INITIALIZED 100. LISP-ENVIRONMENT)) (DefConst CREC-SYSTEM-BOOT 0) (DefConst CREC-UCODE-HALT 1) (DefConst CREC-HARDWARE-HALT 2) (DefConst CREC-LISP-HALT 3) (DefConst CREC-Progress-Initial-Value 0) (DefConst CREC-Progress-Warm-Initializations 80.) (DefConst CREC-PROGRESS-TIME-INITIALIZED 90.) (DefConst CREC-PROGRESS-MAX 100.) (DefConst %%CREC-Recorded-in-Log 0101)