xref: /netbsd-src/external/gpl3/gdb/dist/sim/m32r/sim-main.h (revision 05fa08567a80471fd0eb3843a238392874f2577c)
1 /* Main header for the m32r.  */
2 
3 #ifndef SIM_MAIN_H
4 #define SIM_MAIN_H
5 
6 /* This is a global setting.  Different cpu families can't mix-n-match -scache
7    and -pbb.  However some cpu families may use -simple while others use
8    one of -scache/-pbb.  */
9 #define WITH_SCACHE_PBB 1
10 
11 #include "sim-basics.h"
12 #include "opcodes/m32r-desc.h"
13 #include "opcodes/m32r-opc.h"
14 #include "arch.h"
15 #include "sim-base.h"
16 #include "cgen-sim.h"
17 
18 /* TODO: Move this to the CGEN generated files instead.  */
19 #include "m32r-sim.h"
20 
21 /* Misc.  */
22 
23 /* Catch address exceptions.  */
24 extern SIM_CORE_SIGNAL_FN m32r_core_signal ATTRIBUTE_NORETURN;
25 #define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \
26 m32r_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), \
27 		  (TRANSFER), (ERROR))
28 
29 #endif /* SIM_MAIN_H */
30