sim: or1k: move arch-specific settings to internal header
authorMike Frysinger <vapier@gentoo.org>
Sat, 24 Dec 2022 01:51:39 +0000 (20:51 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 24 Dec 2022 01:55:55 +0000 (20:55 -0500)
commitf5e82fac07c48dd72b44f7b11b866f59ec086815
treee4583a19f763a270fdb7667feea04c2a80ebfe1f
parent095f84c7e3cf85cd68c657c46b80be078f336bc9
sim: or1k: move arch-specific settings to internal header

There's no need for these settings to be in sim-main.h which is shared
with common/ sim code, so move it all out to the existing or1k-sim.h.
Unfortunately, we can't yet drop the or1k-sim.h include from sim-main.h
as many of the generated CGEN files refer only to sim-main.h.  We'll
have to improve the CGEN interface before we can make more progress,
but this is at least a minor improvement.
sim/or1k/or1k-sim.h
sim/or1k/sim-main.h
sim/or1k/traps.c