#ifndef SIM_MAIN_H
#define SIM_MAIN_H
+/* This is a global setting. Different cpu families can't mix-n-match -scache
+ and -pbb. However some cpu families may use -simple while others use
+ one of -scache/-pbb. */
+#define WITH_SCACHE_PBB 1
+
#include "symcat.h"
#include "sim-basics.h"
#include "cgen-types.h"
#endif
};
\f
-/* The sim_state struct. */
-
-struct sim_state {
- sim_cpu *cpu[MAX_NR_PROCESSORS];
-
- CGEN_STATE cgen_state;
-
- sim_state_base base;
-};
-\f
/* Misc. */
/* Catch address exceptions. */
m32r_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), \
(TRANSFER), (ERROR))
-/* Default memory size. */
-#ifdef M32R_LINUX
-#define M32R_DEFAULT_MEM_SIZE 0x2000000 /* 32M */
-#else
-#define M32R_DEFAULT_MEM_SIZE 0x800000 /* 8M */
-#endif
-
#endif /* SIM_MAIN_H */