sim: riscv: move arch-specific settings to internal header
authorMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 04:10:38 +0000 (23:10 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 13:32:58 +0000 (08:32 -0500)
commitf3e1a3e6fa80c20b7ab5e968330ae69fe0a3cd81
treebbc68dacd2636833055dff2bb4057171c212fd02
parentf625c714c2c5a9b6fdc5f4424730e6140c8d0bb9
sim: riscv: 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 a new header which only
this port will include.

We can also move the machs.h include out since the model logic was all
generalized from compile-time to runtime last year.
sim/riscv/interp.c
sim/riscv/machs.c
sim/riscv/riscv-sim.h [new file with mode: 0644]
sim/riscv/sim-main.c
sim/riscv/sim-main.h