aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sim-main.h
diff options
context:
space:
mode:
authorRon Unrau <runrau@cygnus>1998-06-14 17:01:02 +0000
committerRon Unrau <runrau@cygnus>1998-06-14 17:01:02 +0000
commitf083fff3978c64866d22d9e554941b38c22bf357 (patch)
tree75f0568fccd5291e9a2a2fad1d4f6a076a7ae107 /sim/mips/sim-main.h
parentc4faac32e53b548c1a422484887bed6f6d3eb91f (diff)
downloadgdb-f083fff3978c64866d22d9e554941b38c22bf357.zip
gdb-f083fff3978c64866d22d9e554941b38c22bf357.tar.gz
gdb-f083fff3978c64866d22d9e554941b38c22bf357.tar.bz2
* sky-engine.c: Set ordering of device issues to match enumerated type
txvu_cpu_context (sim-main.h tm-txvu.h). This also allowed the issue structure to be simplified to an array of functions.
Diffstat (limited to 'sim/mips/sim-main.h')
-rw-r--r--sim/mips/sim-main.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h
index 4a632ab..ad55008 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -994,13 +994,13 @@ void sky_sim_engine_halt PARAMS ((SIM_DESC sd, sim_cpu *last, sim_cia cia));
#ifndef TM_TXVU_H /* In case GDB hasn't been configured yet */
enum txvu_cpu_context
{
- TXVU_CPU_AUTO = -1, /* context-sensitive context */
- TXVU_CPU_MASTER, /* R5900 core */
- TXVU_CPU_VU0, /* Vector units */
- TXVU_CPU_VU1,
- TXVU_CPU_VIF0, /* FIFO's */
- TXVU_CPU_VIF1,
- TXVU_CPU_LAST /* Count of context types */
+ TXVU_CPU_AUTO = -1, /* context-sensitive context */
+ TXVU_CPU_MASTER = 0, /* R5900 core */
+ TXVU_CPU_VU0 = 1, /* Vector units */
+ TXVU_CPU_VU1 = 2,
+ TXVU_CPU_VIF0 = 3, /* FIFO's */
+ TXVU_CPU_VIF1 = 4,
+ TXVU_CPU_LAST /* Count of context types */
};
/* memory segment for communication with GDB */