From f083fff3978c64866d22d9e554941b38c22bf357 Mon Sep 17 00:00:00 2001 From: Ron Unrau Date: Sun, 14 Jun 1998 17:01:02 +0000 Subject: [PATCH] * 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. --- sim/mips/sim-main.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index 4a632ab5f3c..ad550089cb8 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 */ -- 2.30.2