binutils-gdb/sim/arm
Mike Frysinger 383861bd08 sim: invert sim_state storage
Currently all ports have to declare sim_state themselves in their
sim-main.h and then embed the common sim_state_base & sim_cpu in it.
This dynamic makes it impossible to share common object code among
multiple ports because the core data structure is always different.

Let's invert this relationship: common code declares sim_state, and
if the port actually needs state on a per-instance basis, it can use
the new arch_data field for it.  Most ports don't actually use it,
so they don't need to declare anything at all.

This is the first in a series of changes: it adds a define to select
between the old & new layouts, then converts all the ports that don't
need custom state over to the new layout.
2021-05-17 00:42:55 -04:00
..
aclocal.m4 sim: enable hardware support by default 2021-04-26 22:30:55 -04:00
armcopro.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armdefs.h sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armemu32.c sim: arm: move build logic to source files 2021-05-01 12:55:18 -04:00
armemu.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armemu.h
armfpe.h
arminit.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armos.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armos.h
armsupp.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armvirt.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
ChangeLog sim: invert sim_state storage 2021-05-17 00:42:55 -04:00
config.in sim: riscv: move __int128 check to configure 2021-05-16 00:04:17 -04:00
configure sim: riscv: move __int128 check to configure 2021-05-16 00:04:17 -04:00
configure.ac sim: common: split up acinclude.m4 into individual m4 files 2021-02-21 02:20:19 -05:00
COPYING
dbg_rdi.h
iwmmxt.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
iwmmxt.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
Makefile.in sim: arm: move build logic to source files 2021-05-01 12:55:18 -04:00
maverick.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
maverick.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
README
sim-main.h sim: invert sim_state storage 2021-05-17 00:42:55 -04:00
thumbemu.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
wrapper.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00

This directory contains the standard release of the ARMulator from
Advanced RISC Machines, and was ftp'd from.

ftp.cl.cam.ac.uk:/arm/gnu

It likes to use TCP/IP between the simulator and the host, which is
nice, but is a pain to use under anything non-unix.

I've added created a new Makefile.in (the original in Makefile.orig)
to build a version of the simulator without the TCP/IP stuff, and a
wrapper.c to link directly into gdb and the run command.

It should be possible (barring major changes in the layout of
the armulator) to upgrade the simulator by copying all the files
out of a release into this directory and renaming the Makefile.

(Except that I changed armos.c to work more simply with our
simulator rigs)

Steve

sac@cygnus.com

Mon May 15 12:03:28 PDT 1995