+2010-02-04 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-base.h: Declare sim_state.cpu as a pointer in the comment. Drop
+ & from the STATE_CPU() examples.
+
2010-01-24 Doug Evans <dje@sebabeach.org>
* cgen-accfp.c (fextsfdf): New arg how. All callers updated.
};
struct sim_state {
- sim_cpu cpu[MAX_NR_PROCESSORS];
+ sim_cpu *cpu[MAX_NR_PROCESSORS];
#if (WITH_SMP)
- #define STATE_CPU(sd,n) (&(sd)->cpu[n])
+ #define STATE_CPU(sd,n) ((sd)->cpu[n])
#else
- #define STATE_CPU(sd,n) (&(sd)->cpu[0])
+ #define STATE_CPU(sd,n) ((sd)->cpu[0])
#endif
... simulator specific members ...
sim_state_base base;