|
@@ -310,3 +310,59 @@ struct el_apecs_sysdata_mcheck
|
|
|
unsigned long epic_harx2;
|
|
|
unsigned long epic_pmlt;
|
|
|
unsigned long epic_tag0;
|
|
|
+ unsigned long epic_tag1;
|
|
|
+ unsigned long epic_tag2;
|
|
|
+ unsigned long epic_tag3;
|
|
|
+ unsigned long epic_tag4;
|
|
|
+ unsigned long epic_tag5;
|
|
|
+ unsigned long epic_tag6;
|
|
|
+ unsigned long epic_tag7;
|
|
|
+ unsigned long epic_data0;
|
|
|
+ unsigned long epic_data1;
|
|
|
+ unsigned long epic_data2;
|
|
|
+ unsigned long epic_data3;
|
|
|
+ unsigned long epic_data4;
|
|
|
+ unsigned long epic_data5;
|
|
|
+ unsigned long epic_data6;
|
|
|
+ unsigned long epic_data7;
|
|
|
+};
|
|
|
+
|
|
|
+struct el_apecs_procdata
|
|
|
+{
|
|
|
+ unsigned long paltemp[32]; /* PAL TEMP REGS. */
|
|
|
+ /* EV4-specific fields */
|
|
|
+ unsigned long exc_addr; /* Address of excepting instruction. */
|
|
|
+ unsigned long exc_sum; /* Summary of arithmetic traps. */
|
|
|
+ unsigned long exc_mask; /* Exception mask (from exc_sum). */
|
|
|
+ unsigned long iccsr; /* IBox hardware enables. */
|
|
|
+ unsigned long pal_base; /* Base address for PALcode. */
|
|
|
+ unsigned long hier; /* Hardware Interrupt Enable. */
|
|
|
+ unsigned long hirr; /* Hardware Interrupt Request. */
|
|
|
+ unsigned long csr; /* D-stream fault info. */
|
|
|
+ unsigned long dc_stat; /* D-cache status (ECC/Parity Err). */
|
|
|
+ unsigned long dc_addr; /* EV3 Phys Addr for ECC/DPERR. */
|
|
|
+ unsigned long abox_ctl; /* ABox Control Register. */
|
|
|
+ unsigned long biu_stat; /* BIU Status. */
|
|
|
+ unsigned long biu_addr; /* BUI Address. */
|
|
|
+ unsigned long biu_ctl; /* BIU Control. */
|
|
|
+ unsigned long fill_syndrome;/* For correcting ECC errors. */
|
|
|
+ unsigned long fill_addr; /* Cache block which was being read */
|
|
|
+ unsigned long va; /* Effective VA of fault or miss. */
|
|
|
+ unsigned long bc_tag; /* Backup Cache Tag Probe Results.*/
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+#ifdef __KERNEL__
|
|
|
+
|
|
|
+#ifndef __EXTERN_INLINE
|
|
|
+#define __EXTERN_INLINE extern inline
|
|
|
+#define __IO_EXTERN_INLINE
|
|
|
+#endif
|
|
|
+
|
|
|
+/*
|
|
|
+ * I/O functions:
|
|
|
+ *
|
|
|
+ * Unlike Jensen, the APECS machines have no concept of local
|
|
|
+ * I/O---everything goes over the PCI bus.
|
|
|
+ *
|
|
|
+ * There is plenty room for optimization here. In particular,
|