Browse Source

2001-02-23 Ben Elliston <bje@redhat.com>

* sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Only define if not
	already defined elsewhere.
jimb_gnu_v3_branch
Ben Elliston 26 years ago
parent
commit
fb891446b7
  1. 5
      sim/mips/ChangeLog
  2. 2
      sim/mips/sim-main.h

5
sim/mips/ChangeLog

@ -1,3 +1,8 @@
2001-02-23 Ben Elliston <bje@redhat.com>
* sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Only define if not
already defined elsewhere.
2001-02-19 Ben Elliston <bje@redhat.com>
* sim-main.h (sim_monitor): Return an int.

2
sim/mips/sim-main.h

@ -328,6 +328,7 @@ struct _sim_cpu {
#define simSIGINT (1 << 28) /* 0 = do nothing; 1 = SIGINT has occured */
#define simJALDELAYSLOT (1 << 29) /* 1 = in jal delay slot */
#ifndef ENGINE_ISSUE_PREFIX_HOOK
#define ENGINE_ISSUE_PREFIX_HOOK() \
{ \
/* Perform any pending writes */ \
@ -343,6 +344,7 @@ struct _sim_cpu {
else \
STATE &= ~simPCOC0; \
}
#endif /* ENGINE_ISSUE_PREFIX_HOOK */
/* This is nasty, since we have to rely on matching the register

Loading…
Cancel
Save