@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -20,9 +20,6 @@
#define SIM_MAIN_H
#include "sim-basics.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
#include "bfd.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
extern unsigned int pc;
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
struct _sim_cpu {
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Add note to clean this up.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -24,6 +24,8 @@
#include "sim-basics.h"
#include "sim-signal.h"
+/* TODO: Delete this. Need to convert bu32/etc... to common sim types
+ and unwind the bfin-sim.h/machs.h include below first though. */
typedef struct _sim_cpu SIM_CPU;
#include "bfin-sim.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-base.h (SIM_CPU): New typedef.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* cgen-engine.h (CIA_ADDR): Delete.
* sim-base.h: Update sim_cia example.
[!CIA_ADDR] (sim_cia): New typedef.
@@ -72,6 +72,8 @@ typedef address_word sim_cia;
#define INVALID_INSTRUCTION_ADDRESS ((address_word)0 - 1)
#endif
+/* TODO: Probably should just delete SIM_CPU. */
+typedef struct _sim_cpu SIM_CPU;
typedef struct _sim_cpu sim_cpu;
#include "sim-module.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -24,8 +24,6 @@
typedef long int word;
typedef unsigned long int uword;
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
#include "bfd.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define USING_SIM_BASE_H
-struct _sim_cpu;
-typedef struct _sim_cpu SIM_CPU;
-
#include "symcat.h"
#include "sim-basics.h"
#include "cgen-types.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -24,8 +24,6 @@
typedef long int word;
typedef unsigned long int uword;
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
#include "bfd.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
(frv_sim_engine_halt_hook): Move below includes.
@@ -21,9 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define USING_SIM_BASE_H /* FIXME: quick hack */
-struct _sim_cpu; /* FIXME: should be in sim-basics.h */
-typedef struct _sim_cpu SIM_CPU;
-
/* Set the mask of unsupported traces. */
#define WITH_TRACE \
(~(TRACE_alu | TRACE_decode | TRACE_memory | TRACE_model | TRACE_fpu \
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -25,8 +25,6 @@
#include "sim-base.h"
#include "bfd.h"
-typedef struct _sim_cpu SIM_CPU;
-
#include "ft32-sim.h"
struct _sim_cpu {
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -87,9 +87,6 @@ enum h8_typecodes {
};
#include "sim-basics.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
/* Structure used to describe addressing */
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -6,9 +6,6 @@
#define USING_SIM_BASE_H /* FIXME: quick hack */
-struct _sim_cpu; /* FIXME: should be in sim-basics.h */
-typedef struct _sim_cpu SIM_CPU;
-
/* sim-basics.h includes config.h but cgen-types.h must be included before
sim-basics.h and cgen-types.h needs config.h. */
#include "config.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -25,9 +25,6 @@
#define USING_SIM_BASE_H /* FIXME: quick hack */
-struct _sim_cpu; /* FIXME: should be in sim-basics.h */
-typedef struct _sim_cpu SIM_CPU;
-
#include "symcat.h"
#include "sim-basics.h"
#include "cgen-types.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -5,9 +5,6 @@
#define USING_SIM_BASE_H /* FIXME: quick hack */
-struct _sim_cpu; /* FIXME: should be in sim-basics.h */
-typedef struct _sim_cpu SIM_CPU;
-
#include "symcat.h"
#include "sim-basics.h"
#include "cgen-types.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define SIM_HANDLES_LMA 1
#include "sim-basics.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-signal.h"
#include "sim-base.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -24,8 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
typedef long int word;
typedef unsigned long int uword;
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
#include "bfd.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -20,9 +20,6 @@
#include "microblaze.h"
#include "sim-basics.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
/* The machine state.
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -33,9 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
mips_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), (TRANSFER), (ERROR))
#include "sim-basics.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
#include "bfd.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
(SIM_ADDR): Delete comment.
@@ -42,8 +42,6 @@
#include "itable.h"
#include "idecode.h"
-typedef struct _sim_cpu SIM_CPU;
-
#define WITH_WATCHPOINTS 1
#define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -21,9 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define SIM_MAIN_H
#include "sim-basics.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
#include "bfd.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -23,9 +23,6 @@
#include "sim-basics.h"
#include "sim-signal.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "msp430-sim.h"
#include "sim-base.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -20,9 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define SIM_MAIN_H
#include "sim-basics.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
typedef struct
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (_sim_cpu, SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (CIA_ADDR): Define.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -5,9 +5,6 @@
#define USING_SIM_BASE_H /* FIXME: quick hack */
-struct _sim_cpu; /* FIXME: should be in sim-basics.h */
-typedef struct _sim_cpu SIM_CPU;
-
/* sim-basics.h includes config.h but cgen-types.h must be included before
sim-basics.h and cgen-types.h needs config.h. */
#include "config.h"
@@ -1,5 +1,9 @@
2015-04-18 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_CPU): Delete.
+
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>
@@ -16,9 +16,6 @@
#include "sim-basics.h"
#include "sim-signal.h"
#include "sim-fpu.h"
-
-typedef struct _sim_cpu SIM_CPU;
-
#include "sim-base.h"
#include "simops.h"