sim: unify SIM_CPU definition

Since every target typedefs this the same way, move it to the common code.

We have to leave Blackfin behind here for now because of inter-dependencies
on types and headers: sim-base.h includes sim-model.h which needs types in
machs.h which needs types in bfim-sim.h which needs SIM_CPU.
This commit is contained in:
Mike Frysinger
2015-04-18 04:19:56 -04:00
parent 7e83aa92f2
commit 20bca71d82
46 changed files with 96 additions and 57 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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