o Add modulo argument to sim_core_attach

o	Add sim-memopt module - memory option processing.
This commit is contained in:
Andrew Cagney
1997-09-04 03:47:39 +00:00
parent 600d83316c
commit a34abff813
18 changed files with 769 additions and 225 deletions

View File

@@ -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;