hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/arch/parisc/include/uapi/asm/pdc.h
....@@ -60,6 +60,8 @@
6060 #define PDC_MODEL_NVA_UNSUPPORTED (3 << 4)
6161 #define PDC_MODEL_GET_BOOT__OP 8 /* returns boot test options */
6262 #define PDC_MODEL_SET_BOOT__OP 9 /* set boot test options */
63
+#define PDC_MODEL_GET_PLATFORM_INFO 10 /* returns platform info */
64
+#define PDC_MODEL_GET_INSTALL_KERNEL 11 /* returns kernel for installation */
6365
6466 #define PA89_INSTRUCTION_SET 0x4 /* capabilities returned */
6567 #define PA90_INSTRUCTION_SET 0x8
....@@ -99,7 +101,7 @@
99101 #define PDC_TOD 9 /* time-of-day clock (TOD) */
100102 #define PDC_TOD_READ 0 /* read TOD */
101103 #define PDC_TOD_WRITE 1 /* write TOD */
102
-
104
+#define PDC_TOD_CALIBRATE 2 /* calibrate timers */
103105
104106 #define PDC_STABLE 10 /* stable storage (sprockets) */
105107 #define PDC_STABLE_READ 0
....@@ -109,15 +111,22 @@
109111 #define PDC_STABLE_INITIALIZE 4
110112
111113 #define PDC_NVOLATILE 11 /* often not implemented */
114
+#define PDC_NVOLATILE_READ 0
115
+#define PDC_NVOLATILE_WRITE 1
116
+#define PDC_NVOLATILE_RETURN_SIZE 2
117
+#define PDC_NVOLATILE_VERIFY_CONTENTS 3
118
+#define PDC_NVOLATILE_INITIALIZE 4
112119
113120 #define PDC_ADD_VALID 12 /* Memory validation PDC call */
114121 #define PDC_ADD_VALID_VERIFY 0 /* Make PDC_ADD_VALID verify region */
122
+
123
+#define PDC_DEBUG 14 /* Obsolete */
115124
116125 #define PDC_INSTR 15 /* get instr to invoke PDCE_CHECK() */
117126
118127 #define PDC_PROC 16 /* (sprockets) */
119128
120
-#define PDC_CONFIG 16 /* (sprockets) */
129
+#define PDC_CONFIG 17 /* (sprockets) */
121130 #define PDC_CONFIG_DECONFIG 0
122131 #define PDC_CONFIG_DRECONFIG 1
123132 #define PDC_CONFIG_DRETURN_CONFIG 2
....@@ -167,6 +176,15 @@
167176 #define PDC_SOFT_POWER_INFO 0 /* return info about the soft power switch */
168177 #define PDC_SOFT_POWER_ENABLE 1 /* enable/disable soft power switch */
169178
179
+#define PDC_ALLOC 24 /* allocate static storage for PDC & IODC */
180
+
181
+#define PDC_CRASH_PREP 25 /* Prepare system for crash dump */
182
+#define PDC_CRASH_DUMP 0 /* Do platform specific preparations for dump */
183
+#define PDC_CRASH_LOG_CEC_ERROR 1 /* Dump hardware registers */
184
+
185
+#define PDC_SCSI_PARMS 26 /* Get and set SCSI parameters */
186
+#define PDC_SCSI_GET_PARMS 0 /* Get SCSI parameters for I/O device */
187
+#define PDC_SCSI_SET_PARMS 1 /* Set SCSI parameters for I/O device */
170188
171189 /* HVERSION dependent */
172190
....@@ -260,6 +278,10 @@
260278 #define PDC_PCI_READ_MON_TYPE 15
261279 #define PDC_PCI_WRITE_MON_TYPE 16
262280
281
+#define PDC_RELOCATE 149 /* (sprockets) */
282
+#define PDC_RELOCATE_GET_RELOCINFO 0
283
+#define PDC_RELOCATE_CHECKSUM 1
284
+#define PDC_RELOCATE_RELOCATE 2
263285
264286 /* Get SCSI Interface Card info: SDTR, SCSI ID, mode (SE vs LVD) */
265287 #define PDC_INITIATOR 163