binutils-gdb/sim/v850/sim-main.h
Mike Frysinger f625c714c2 sim: v850: standardize the arch-specific settings a little
Rename v850_sim.h to v850-sim.h to match other ports, and move most
of the arch-specific content out of sim-main.h to it.  This isn't a
big win though as we still have to include the header in sim-main.h
due to the igen interface: it hardcodes including sim-main.h in its
files.  So until we can fix that, we have to keep bleeding these
settings into the common codes.
2022-12-23 08:32:58 -05:00

19 lines
377 B
C

#ifndef SIM_MAIN_H
#define SIM_MAIN_H
/* The v850 has 32bit words, numbered 31 (MSB) to 0 (LSB) */
#define WITH_TARGET_WORD_MSB 31
#include "sim-basics.h"
#include "sim-base.h"
/**
* TODO: Move these includes to the igen files that need them.
* This requires extending the igen syntax to support header includes.
*/
#include "sim-signal.h"
#include "v850-sim.h"
#endif