diff options
| author | Andrew Cagney <cagney@redhat.com> | 1997-09-04 03:47:39 +0000 |
|---|---|---|
| committer | Andrew Cagney <cagney@redhat.com> | 1997-09-04 03:47:39 +0000 |
| commit | a34abff813f4fdd5f289ea45de9e874e31e7edf3 (patch) | |
| tree | f6d3be383893c3adaae166e570d5eccd71f08427 /sim/common/sim-base.h | |
| parent | 600d83316cfa68f72666d792244890789812b51a (diff) | |
| download | ppe42-binutils-a34abff813f4fdd5f289ea45de9e874e31e7edf3.tar.gz ppe42-binutils-a34abff813f4fdd5f289ea45de9e874e31e7edf3.zip | |
o Add modulo argument to sim_core_attach
o Add sim-memopt module - memory option processing.
Diffstat (limited to 'sim/common/sim-base.h')
| -rw-r--r-- | sim/common/sim-base.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h index ef5f1ce941..988eb2901e 100644 --- a/sim/common/sim-base.h +++ b/sim/common/sim-base.h @@ -77,6 +77,7 @@ typedef struct _sim_cpu sim_cpu; #include "sim-io.h" #include "sim-engine.h" #include "sim-watch.h" +#include "sim-memopt.h" /* Global pointer to current state while sim_resume is running. @@ -199,6 +200,11 @@ typedef struct { #define STATE_CORE(sd) (&(sd)->base.core) sim_core core; + /* memory-options for managing the core */ +#define STATE_MEMOPT(sd) ((sd)->base.memopt) +#define STATE_MEMOPT_P(sd) (STATE_MEMOPT (sd) != NULL) + sim_memopt *memopt; + /* event handler */ #define STATE_EVENTS(sd) (&(sd)->base.events) sim_events events; |

