forked from Imagelibrary/binutils-gdb
o Add modulo argument to sim_core_attach
o Add sim-memopt module - memory option processing.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user