diff options
author | Frank Ch. Eigler <fche@redhat.com> | 1998-02-11 19:42:15 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 1998-02-11 19:42:15 +0000 |
commit | 43a6998b412a4f30974081b19771da32c4375ea1 (patch) | |
tree | 853219386b28650fa882e124b1fe04c2349487b6 /sim/mips/sky-pke.h | |
parent | ef582182d5e00c853c5bc1749ade520be27f4c39 (diff) | |
download | gdb-43a6998b412a4f30974081b19771da32c4375ea1.zip gdb-43a6998b412a4f30974081b19771da32c4375ea1.tar.gz gdb-43a6998b412a4f30974081b19771da32c4375ea1.tar.bz2 |
- PKE simulation code almost complete. Still missing:
* handling of super duper packed UNPACK arguments
* skipping of in-progress instruction on break/stop
* interrupt generation to 5900
* PATH2/PATH3 status checking & masking
* ability to write to FIFO one word (instead of quadword) at a time
Diffstat (limited to 'sim/mips/sky-pke.h')
-rw-r--r-- | sim/mips/sky-pke.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sim/mips/sky-pke.h b/sim/mips/sky-pke.h index 74b8bc7..c378c64 100644 --- a/sim/mips/sky-pke.h +++ b/sim/mips/sky-pke.h @@ -7,10 +7,6 @@ #include "sky-device.h" -/* Debugguing PKE? */ - -#define PKE_DEBUG - /* External functions */ @@ -163,10 +159,11 @@ typedef unsigned_4 quadword[4]; #define PKE_REG_STAT_PPS_E 1 #define PKE_REG_STAT_PPS_B 0 -#define PKE_REG_STAT_PPS_IDLE 0x00 -#define PKE_REG_STAT_PPS_WAIT 0x01 -#define PKE_REG_STAT_PPS_DECODE 0x02 -#define PKE_REG_STAT_PPS_XFER 0x03 +#define PKE_REG_STAT_PPS_IDLE 0x00 /* ready to execute next instruction */ +#define PKE_REG_STAT_PPS_WAIT 0x01 /* not enough words in FIFO */ +#define PKE_REG_STAT_PPS_DECODE 0x02 /* decoding instruction */ +#define PKE_REG_STAT_PPS_STALL 0x02 /* alias state for FLUSHE stall */ +#define PKE_REG_STAT_PPS_XFER 0x03 /* transferring instruction operands */ /* DBF register */ #define PKE_REG_DBF_DF_E 0 @@ -364,7 +361,7 @@ struct pke_device struct fifo_quadword* fifo; int fifo_num_elements; /* no. of quadwords occupied in FIFO */ int fifo_buffer_size; /* no. of quadwords of space in FIFO */ - FILE* fifo_trace_file; /* or 0 for no trace */ + FILE* fifo_trace_file; /* or 0 for no trace */ /* XXX: tracing not done */ /* XXX: assumes FIFOs grow indefinately */ /* PC */ |