+start-sanitize-sky
+Thu Apr 9 16:38:23 1998 Frank Ch. Eigler <fche@cygnus.com>
+
+ * r5900.igen (LQC,SQC): Adapted code to DOUBLEWORD accesses
+ instead of QUADWORD.
+
+ * sim-main.h: Removed attempt at allowing 128-bit access.
+
+end-sanitize-sky
start-sanitize-sky
Wed Apr 8 18:12:13 1998 Frank Ch. Eigler <fche@cygnus.com>
#define PSIZE (WITH_TARGET_ADDRESS_BITSIZE)
#endif
-/* start-sanitize-sky */
-#ifdef OOPS_THIS_DOESN_T_WORK
-#ifdef TARGET_SKY
- /* 128-bit accesses are allowed */
-#undef LOADDRMASK
-#define LOADDRMASK AccessLength_QUADWORD
-#undef PSIZE
-#define PSIZE (WITH_TARGET_ADDRESS_BITSIZE)
-#endif /* TARGET_SKY */
-#endif
-/* end-sanitize-sky */
-
INLINE_SIM_MAIN (int) address_translation PARAMS ((SIM_DESC sd, sim_cpu *, address_word cia, address_word vAddr, int IorD, int LorS, address_word *pAddr, int *CCA, int raw));
#define AddressTranslation(vAddr,IorD,LorS,pAddr,CCA,host,raw) \
}
}
+
/* Read PKE Pseudo-PC into buf in target order */
int
read_pke_pc (struct pke_device *me, void *buf)
{
- *((int *) buf) = H2T_4( me->fifo_pc );
+ *((int *) buf) = H2T_4( (me->fifo_pc << 2) | me->qw_pc );
return 4;
}
+
/* Read PKE reg into buf in target order */
int
read_pke_reg (struct pke_device *me, int reg_num, void *buf)
return 4;
}
+
+
/* Handle a PKE write; return no. of bytes written */
int