From d11d59aca89a0fdc1a577e1e60022d594e927288 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 18 Mar 1997 07:43:22 +0000 Subject: [PATCH] Rename `struct _engine' to new `struct sim_state'. --- sim/common/ChangeLog | 30 ++++++++++++++++++++++++++++++ sim/common/sim-bits.c | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 3d20c8c0439..fcbca74d31b 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,33 @@ +Tue Mar 18 13:58:18 1997 Andrew Cagney + + * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c, + sim-events.c, sim-inline.c, sim-io.c): Define rules for building + these. + + * sim-events.c (sim_events_at_large_int): New function. Just + schedules an event every large-int ticks. + (sim_events_init): Call. + (sim_events_tick, sim_events_process): Move async handing to + sim_events_process. Move timer decrement so that it occures after + events have been processed. + + * sim-basics.h (struct _engine): Remove declaration. + + * sim-events.h, sim-events.c: Rename type to sim_events. Prefix + everything with same. Rename global struct to SIM_DESC. + * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core. + * sim-io.h, sim-io.c: Ditto. + + * sim-assert.h: New file. Optional assertion checking macros. + * sim-io.c (sim_io_error): Make just this function tolerant to + null pointers. + + * sim-xcat.h: New file. Define concatenate macros. + * sim-basics.h (XCONCAT*): Move to sim-xcat.h. + * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include + concat macros. + + Tue Mar 18 12:44:55 1997 Andrew Cagney * sim-bits.h (LSMASK): New macro. Create mask of LS bits. diff --git a/sim/common/sim-bits.c b/sim/common/sim-bits.c index 1f0a8e5f25e..1c08c4d5ec3 100644 --- a/sim/common/sim-bits.c +++ b/sim/common/sim-bits.c @@ -23,7 +23,7 @@ #define _SIM_BITS_C_ #include "sim-basics.h" - +#include "sim-assert.h" INLINE_SIM_BITS\ (unsigned_word) -- 2.30.2