binutils-gdb/sim/v850/sim-main.h
Mike Frysinger c743e42e22 sim: v850: reduce extra header inclusion to igen files
Limit these extra header includes to only when specific igen files
include us until we can move the includes to the igen fils directly.
2023-01-18 19:13:04 -05:00

19 lines
411 B
C

#ifndef SIM_MAIN_H
#define SIM_MAIN_H
#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.
*/
#if defined(SEMANTICS_C) || defined(SUPPORT_C)
#include "sim-signal.h"
#endif
#if defined(ENGINE_C) || defined(IDECODE_C) || defined(SEMANTICS_C)
#include "v850-sim.h"
#endif
#endif