sim: d10v: 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 drop the d10v_sim.h include and move it to
the few files that actually need it.

Also rename the file to standardize it a bit better with other ports.
This commit is contained in:
Mike Frysinger
2022-12-22 22:39:55 -05:00
parent e79b75a3cf
commit 6960600787
6 changed files with 14 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ write_template (void)
struct d10v_opcode *opcode;
int i,j;
printf ("#include \"sim-main.h\"\n");
printf ("#include \"d10v-sim.h\"\n");
printf ("#include \"simops.h\"\n");
for (opcode = (struct d10v_opcode *)d10v_opcodes; opcode->name; opcode++)
@@ -103,6 +103,7 @@ write_opcodes (void)
/* write out opcode table */
printf ("#include \"sim-main.h\"\n");
printf ("#include \"d10v-sim.h\"\n");
printf ("#include \"simops.h\"\n\n");
printf ("struct simops Simops[] = {\n");