+2002-06-22 Andrew Cagney <ac131313@redhat.com>
+
+ * Makefile.in (INTL_SRC): Define.
+ (INTL_CFLAGS): Define.
+ (INTL_DIR): Define.
+ (STD_CFLAGS): Add INTL_CFLAGS.
+
+2002-06-17 Elena Zannoni <ezannoni@redhat.com>
+
+ * psim.c (psim_options): Don't choke when gdb invokes us with
+ the --architecture option, just ignore it.
+
+2002-06-16 Andrew Cagney <ac131313@redhat.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2002-06-08 Andrew Cagney <cagney@redhat.com>
+
+ * main.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
+ * sim_calls.c: Ditto.
+
+2002-05-30 DJ Delorie <dj@redhat.com>
+
+ * lf.c (lf_print__gnu_copyleft): Convert multiline strings to
+ compatible format.
+ * gen-idecode.c (print_run_until_stop_body): Likewise.
+ * gen-model.c (gen_model_c): Likewise.
+
+2002-04-15 Elena Zannoni <ezannoni@redhat.com>
+
+ * sim_calls.c (sim_fetch_register, sim_store_register): Return -1 for
+ AltiVec registers as a temporary stopgap.
+
+2002-03-24 David O'Brien <obrien@FreeBSD.org>
+
+ * ppc/hw_disk.c: Export a disk device property.
+
+2002-03-23 Andrew Cagney <ac131313@redhat.com>
+
+ From 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
+ * ppc-instructions (lswx): Do the register control with the
+ register count. Initialize the right register in the loop.
+ (mtfsfi) : Correct prefix for the instruction.
+
+2002-02-24 Andrew Cagney <ac131313@redhat.com>
+
+ From wiz at danbala:
+ * std-config.h: Fix grammar and typos. Update copyright.
+ Fix PR gdb/287.
+
+2002-01-12 matthew green <mrg@redhat.com>
+
+ * Makefile.in (tmp-igen): Pass -I $(srcdir) to igen.
+ * igen.c (main): Change -I to add include paths for :include:
+ files.
+ Implement -G as per sim/igen, with just gen-icache=N support.
+ Call load_insn_table() with the built include path.
+
+ * ld-insn.c (parse_include_entry): New. Load an :include: file.
+ (load_insn_table): New `includes' argument. Look for :include:
+ entries and call parse_include_entry() for them.
+ (main): Adjust load_insn_table() call.
+ * ld-insn.h (model_include_fields): New enum.
+ (load_insn_table): Update prototype.
+ * table.c (struct _open_table, struct _table): Rework
+ structures to handle included files.
+ (table_push): Move the guts of table_open() here.
+
+ * table.c (struct _open table, struct table): Make table object an
+ indirect ptr to the current table file.
+ (current_line, new_table_entry, next_line): Make file arg type
+ open_table.
+ (table_open): Use table_push.
+ (table_entry_read): Point variable file at current table, at eof, pop
+ last open table.
+
+ * misc.h (NZALLOC): New macro. From sim/igen.
+
+ * table.h, table.c (table_push): New function.
+
+2002-01-04 matthew green <mrg@redhat.com>
+
+ * bits.c (LSMASKED64): New inline function.
+ (LSEXTRACTED64): Likewise.
+ * bits.h (_LSB_POS, _LSMASKn, LSMASK64): New macros from
+ sim/common/sim-bits.h
+ (LSMASKED64, LSEXTRACTED64): New functions definitions.
+ * Makefile.in (sim-bits.o): Remove target.
+
+ * main.c (zalloc): Fix typo in error message.
+
+2001-12-16 Andrew Cagney <ac131313@redhat.com>
+
+ * configure.in (sim_fpu): Don't add sim-bits.o.
+ * configure: Re-generate.
+
+2001-12-15 matthew green <mrg@redhat.com>
+
+ * main.c: Include "defs.h", "bfd.h", "callback.h" and "remote-sim.h".
+ (sim_io_error): New function.
+ * sim_calls.c: (sim_io_error): New function.
+
+2001-12-14 matthew green <mrg@redhat.com>
+
+ * Makefile.in (LIB_OBJ): Add @sim_fpu@.
+ (ICACHE_CFLAGS, SEMANTICS_CFLAGS): New variables.
+ (icache.o, semantics.o): Add new ICACHE_FLAGS & SEMANTICS_FLAGS.
+ (sim-fpu.o, sim-bits.o, tconfig.h): New targets.
+ * configure.in: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS. Add a
+ check for sim/common/sim-fpu.c. Output sim_fpu and sim_fpu_cflags.
+ * configure: Regenerate.
+ * device.h (device_find_integer_array_property): Match function definition.
+ * gen-icache.c (print_icache_internal_function_declaration): Rename
+ INLINE_ICACHE to PSIM_INLINE_ICACHE.
+ * gen-idecode.c (print_idecode_run_function_header): Rename INLINE_IDECODE
+ to PSIM_INLINE_IDECODE.
+ * gen-semantics.c (print_semantic_function_header): Rename
+ EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
+ * gen-support.c (print_support_function_name): Rename INLINE_SUPPORT to
+ PSIM_INLINE_SUPPORT.
+ * igen.c (print_function_name): Also escape `(' and `)'.
+ (gen_semantics_h): Rename EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
+ (gen_semantics_c): Likewise. Also output includes for "sim-fpu.h"
+ * inline.h (INLINE_SIM_ENDIAN): Renamed INLINE_PSIM_ENDIAN.
+ (EXTERN_SIM_ENDIAN): Renamed EXTERN_PSIM_ENDIAN.
+ (STATIC_INLINE_SIM_ENDIAN): Renamed STATIC_INLINE_PSIM_ENDIAN.
+ (INLINE_LOCALS): Renamed PSIM_INLINE_LOCALS.
+ (EXTERN_SUPPORT): Renamed PSIM_EXTERN_SUPPORT.
+ (INLINE_SUPPORT): Renamed PSIM_INLINE_SUPPORT.
+ (EXTERN_SEMANTICS): Renamed PSIM_EXTERN_SEMANTICS.
+ (INLINE_SEMANTICS): Renamed PSIM_INLINE_SEMANTICS.
+ (EXTERN_IDECODE): Renamed PSIM_EXTERN_IDECODE.
+ (INLINE_IDECODE): Renamed PSIM_INLINE_IDECODE.
+ (EXTERN_ICACHE): Renamed PSIM_EXTERN_ICACHE.
+ (INLINE_ICACHE): Renamed PSIM_INLINE_ICACHE.
+ * options.c (options_inline): Fix names.
+ * sim-endian-n.h: Change INLINE_SIM_ENDIAN to INLINE_PSIM_ENDIAN.
+ * sim-endian.h: Likewise.
+ * sim-main.h: New file.
+ * std-config.h: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS.
+
+2001-12-01 Andrew Cagney <ac131313@redhat.com>
+
+ From Mark Peek.
+ * ppc-spr-table: Add SDA and PIR.
+
+2001-10-29 Andrew Cagney <ac131313@redhat.com>
+
+ * tree.c (parse_size): Assert #size-cells > 0.
+ (parse_address): Ditto for #address-cells.
+ (parse_reg_property): Only parse the size when #size-cells is
+ non-zero.
+
+2001-10-25 Andrew Cagney <ac131313@redhat.com>
+
+ * emul_generic.c (OEA_MEMORY_SIZE): Increase to 4mb.
+ * hw_htab.c (htab_map_binary): Don't try to map the text section
+ when it is empty.
+ * emul_chirp.c (map_over_chirp_note): Default load-base to -1 not
+ CHIRP_LOAD_BASE.
+ (emul_chirp_create): Map in the interrupt table.
+
+2001-07-16 Daniel Jacobowitz <drow@mvista.com>
+
+ * Makefile.in: Add dependencies on $(CPU_H).
+
+Wed Mar 7 10:45:12 HST 2001 Glen Nakamura <gen@lava.net>
+
+ * hw_init.c (dma_file): Fixed problem with loading last 1KB of
+ file.
+
+2001-03-04 Andrew Cagney <ac131313@redhat.com>
+
+ * emul_netbsd.c [WITH_NetBSD_HOST]: Include <sys/mount.h> and
+ <errno.h>.
+ (do_stat): Only do SYS test when SYS_stat defined.
+ (do_sigprocmask): Ditto for SYS_sigprocmask.
+ (do_fstat): Ditto for SYS_fstat.
+ (do_getdirentries): Ditto for SYS_getdirentries.
+ (do_lstat): Ditto for SYS_lstat.
+
+2001-01-15 Geoffrey Keating <geoffk@redhat.com>
+
+ * emul_netbsd.c (do_open): Translate the flag parameter to the
+ open syscall to the numbers supported by the host.
+
+2000-12-12 Geoffrey Keating <geoffk@redhat.com>
+
+ * sim-endian.h: Don't have parameters on macro definitions which
+ are simply renaming functions, to permit use of XCONCAT2 in both
+ the macro name and the arguments in a use of such a definition.
+
+2000-11-15 Jim Blandy <jimb@redhat.com>
+
+ * sim_calls.c: Doc fix.
+ (sim_fetch_register, sim_store_register): Call
+ gdbarch_register_name directly, instead of going through
+ REGISTER_NAME macro.
+
+2000-10-24 Geoff Keating <geoffk@cygnus.com>
+
+ * ppc-instructions (lfsux): Correct XO field of lfsux instruction.
+
+Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Apr 28 15:59:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * events.c (event_queue_process): Call update_time_from_event
+ every time an event is removed from the queue.
+ (update_time_from_event): Delete assertion that a negative
+ time_from_event implies an empty event queue.
+
+Fri Apr 28 15:53:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * interrupts.c (deliver_hardware_interrupt): Print time trace in
+ decimal.
+ * events.c (event_queue_process): Cleanup trace message.
+ (update_time_from_event): Trace full event queue.
+
+2000-03-25 Geoff Keating <geoffk@cygnus.com>
+
+ * ppc-instructions (Disabled_Exponent_Underflow): Increment
+ the exponent when denormalizing.
+
+Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-05-08 Felix Lee <flee@cygnus.com>
+
+ * configure.in: Use AC_EXEEXT instead of AM_EXEEXT.
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-04-02 Keith Seitz <keiths@cygnus.com>
+
+ * sim_calls.c (POLL_QUIT_INTERVAL): Define. Used to tweak
+ the frequency at which the poll_quit callback is called.
+ (poll_quit_count): New global.
+ (sim_io_poll_quit): Only call the poll_quit callback
+ after the specified POLL_QUIT_INTERVAL.
+
+1999-02-22 Jim Lemke <jlemke@cygnus.com>
+
+ * dc-complex: Force expansion on all bits of field BO.
+ Previously, the least-significant (prediction) bit was ignored.
+ * ppc-instructions (conditional branches): Implement mpc860c0 option.
+ * igen.c (gen_semantics_[ch]): Setup for mpc860c0 option.
+ * psim.c (is_num, psim_options): Added parsing for mpc860c0 option.
+ * interrupts.h: Added "mpc860c0_instruction_program_interrupt".
+ * interrupts.c (program_interrupt): Added handling for above interrupt.
+
+1999-02-01 Jim Blandy <jimb@zwingli.cygnus.com>
+
+ Make the simulator compatible with the MPC750. It would be nicer
+ to make this a real multi-sim, but that's more work than we have
+ time for.
+ * emul_generic.c (emul_add_tree_options): Only require strict
+ alignment if it was explicitly requested at configuration time.
+ Don't make it the default for little-endian machines.
+ * ppc-spr-table (UMMCR0, UMMCR1, UPMC1, UPMC2, USIA, UPMC3, UPMC4,
+ MMCR0, PMC1, PMC2, SIA, MMCR1, PMC3, PMC4, L2CR, ICTC, THRM1,
+ THRM2, THRM3): Plop in the MPC750 SPR registers.
+ (DABR): This is weird. This was HID5, but the PPC spec says this
+ should be DABR; why did some random processor use it for something
+ else? The HID5 entry dates back to the original checkin of the
+ simulator code in 1995, so remove it.
+ * sim_calls.c (register_names): Delete this; since the user can
+ now change GDB's list of register names dynamically, we can't
+ pretend there's a static mapping here.
+ (sim_fetch_register, sim_store_register): Call GDB's REGISTER_NAME
+ function to get the register name. That ought to be accurate.
+ However, we're changing a compile-time dependency (using the
+ REGISTER_NAMES macro) into a link- and run-time dependency
+ (calling REGISTER_NAME, which happens to be a function call on the
+ PPC).
+
+1999-01-22 Jim Lemke <jlemke@cygnus.com>
+
+ * igen.c(gen_semantics_[ch]): setup/use of new option
+ (-o mpc860c0[=n]).
+ interrupts.[ch](mpc860c0_instruction_program_interrupt): added.
+ ppc-instructions(the four branch insn groups): detect problematic br's.
+ psim.c(is_num - added, psim_options): Parse and init new option.
+ These changes are currently under #ifdef WITH_OPTION_MPC860C0.
+
+1998-12-01 Ken Raeburn <raeburn@cygnus.com>
+
+ * hw_nvram.c (hw_nvram_bcd): Force value to fit in 0..99.
+
+Fri Nov 20 12:17:28 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * main.c (sim_io_poll_quit): Stub function.
+
+ * events.c (SIM_EVENTS_POLL_RATE): Define.
+ (sim_events_poll): Copy function from common/sim-events.c.
+ (event_queue_init): Copy scheduling of sim_events_poll from same.
+
+ * sim_callbacks.h, sim_calls.c (sim_io_poll_quit): New function,
+ poll the external environment.
+
+1998-11-19 Michael Meissner <meissner@cygnus.com>
+
+ * ppc-instructions (is_{NaN,inf}): Use unsigned64 to get the
+ fractional type, so that quiet NaN's aren't treated like
+ Infinities.
+
+Mon Sep 28 09:42:45 1998 Drew Moseley <dmoseley@cygnus.com>
+
+ * table.c (table_open): For cygwin hosts, we need to use the
+ return value from the read routine as the number of bytes to
+ process. This apparently is due to text-mode vs binary-mode. If
+ the mounts are done text-mode, then the size returnedby fstat()
+ may be different than the number of bytes "read" in text mode.
+
+Sun Oct 4 00:50:47 1998 Felix Lee <flee@cygnus.com>
+
+ * emul_netbsd.c (do_open): fix order-of-evaluation problem.
+ (do_close): ditto.
+ (do_fstat): ditto.
+ (do_lstat): ditto.
+
+1998-09-03 Michael Meissner <meissner@cygnus.com>
+
+ * emul_{netbsd,unix}.c: Update copyright year.
+
+Mon Jun 29 10:57:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
+
+ * sim_calls.c (sim_fetch_register, sim_store_register):
+ return zero when nothing to do.
+
+1998-06-26 Michael Meissner <meissner@cygnus.com>
+
+ * configure.in (AC_CHECK_HEADERS): Don't check for sys/mount.h.
+ * configure: Regenerate.
+ * emul_{netbsd,unix}.c (toplevel): No longer try to include
+ sys/mount.h. It conflicts on Linux when gnu libc2 is used.
+
+Tue May 12 12:10:33 PDT 1998 James Ingham <jingham@leda.cygnus.com>
+
+ * Makefile.in: The run target depended on a target psim$(EXEEXT),
+ but there was no such target, only plain psim. So I changed the
+ run target to depend on psim.
+
+Sat May 2 01:10:12 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
+
+ * aclocal.m4: Remove defs of AM_EXEEXT and AM_CYGWIN32. These are
+ now defined in ../common/aclocal.m4, and the double definition causes
+ problems with AC_SUBST of EXEEXT.
+ * configure: Regenerate.
+
+Wed Apr 29 15:44:52 1998 Geoffrey Noer <noer@cygnus.com>
+
+ * aclocal.m4: new file for AM_EXEEXT macro
+ * configure.in: call AM_EXEEXT
+ * configure: regenerate with autoconf 2.12.1.
+ * Makefile.in: add EXEEXT support
+
+Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+ * config.in: Ditto.
+
+Sun Apr 26 15:19:51 1998 Tom Tromey <tromey@cygnus.com>
+
+ * acconfig.h: New file.
+ * configure.in: Reverted change of Apr 24; use sinclude again.
+ Don't call AC_C_CROSS.
+
+Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+ * config.in: Ditto.
+
+Fri Apr 24 11:18:46 1998 Tom Tromey <tromey@cygnus.com>
+
+ * Makefile.in (top_builddir): New macro.
+ (INTLLIBS): New macro.
+ (INTLDEPS): Likewise.
+ (psim): Depend on INTLDEPS; link against INTLLIBS.
+ * configure.in: Call CY_GNU_GETTEXT.
+
+Wed Apr 22 14:28:48 1998 Michael Meissner <meissner@cygnus.com>
+
+ * configure: Regenerate with autoconf 2.12.1.
+
+Fri Mar 13 09:25:58 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * psim.c (psim_read_register, psim_write_register): Handle updates
+ for FPSCR.
+
+ * registers.c (register_description): Reconize "FPSCR".
+
+ * emul_netbsd.c (emul_netbsd_create): When FP available, enable
+ MSR FP exception mode. Do not enable FPSCR bits.
+ * emul_unix.c (emul_unix_create): Ditto.
+
+Tue Feb 17 12:48:58 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim_calls.c (sim_store_register, sim_fetch_register): Pass in
+ length parameter. Return -1.
+
+Mon Feb 9 14:13:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * ppc-instructions (fdiv, fdivs): Check for divide by zero.
+ (is_invalid_zero_divide, invalid_zero_divide_operation): New
+ functions.
+
+Wed Dec 10 17:38:28 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim_calls.c (sim_load): Do not parse PROG using buildargv, use
+ raw value instead.
+
+1997-11-05 Felix Lee <flee@cygnus.com>
+
+ * emul_chirp.c: #ifdef HAVE_UNISTD_H
+
+Wed Oct 15 08:50:54 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * corefile.c (core_attach): Pad out allocated memory regions so
+ that they are always correctly aligned.
+ (struct _core_mapping, core_map_attach, core_init,
+ new_core_mapping): Change free_buffer to type void*.
+
+Mon Oct 6 18:09:26 1997 Michael Meissner <meissner@cygnus.com>
+
+ * sim_calls.c (zfree): Call free correctly.
+
+Mon Sep 29 10:05:01 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim_calls.c (zfree): Use free, not mfree.
+ (sim_io_flush_stdoutput): Replace gdb_flush with callback ->
+ flush_stdout.
+
+Fri Sep 26 09:50:29 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * ppc-instructions (sraw, slw, srw): From Charles Lefurgy, Fix
+ mask extracting shift amount. Correctly condition for setting XER
+ in sraw.
+ (ldhau): From Johannes Reisinger, update rA after load.
+
+Tue Sep 9 22:13:23 1997 Felix Lee <flee@cygnus.com>
+
+ * basics.h (CONCAT*): token-pasting macros, if ALMOST_STDC,
+ for MSVC.
+ * words.h: __int64 instead of long long for MSVC.
+
+Wed Aug 27 10:24:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim_calls.c (sim_create_inferior): Check the simulator was
+ initialized before creating inferior.
+
+ * idecode_expression.h (ALU_END): From Charles Lefurgy - Extract
+ sign bit using 64 bit and not a 32 bit mask.
+
+Wed Aug 27 10:15:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim_calls.c (sim_load): From Ian Lance Taylor - free argv after
+ it has been used, not before.
+
+Tue Aug 26 10:41:35 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim_calls.c (sim_kill): Delete.
+ (sim_create_inferior): Add ABFD argument.
+ (entry_point): Delete variable.
+ (sim_load): Move setting of PC from here.
+ (sim_create_inferior): To here.
+
+Mon Aug 25 16:17:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim_calls.c (sim_open): Add ABFD argument.
+
+Thu Jul 3 10:18:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * ppc-instructions (PPC_INSN_INT): From Michael Thies - Monitoring
+ CR register updates dependant on RC value had logic backwards.
+
+ * ppc-instructions (Load String Word Immediate): From Brad Parker
+ - sense of wrap test in check for overwriting RA wrong.
+ (Load String Word Indexed): Ditto.
+
+ * configure.in: From Erik Landry - set sim_default_model not
+ sim_model for sim-default-model option.
+ * configure: Regenerate.
+
+ * interrupts.c (check_masked_interrupts): Schedule a hardware
+ interrupt delivery when FP interrupts get enabled.
+ (program_interrupt): Generate FP exceptions instead of aborting.
+ (deliver_hardware_interrupt): Deliver a FP exception if so
+ enabled.
+
+ * registers.h: Add definition of fpscr_vx_bits.
+
+ * idecode_expression.h (FPSCR_END): Always update FEX and VX bits
+ in FPSCR.
+ (FPSCR_END): Explicitly check for possible floating point
+ exception conditions.
+ (FPSCR_BEGIN): Simplify.
+
+ * ppc-instructions (Move From FPSCR): Enable.
+ (Move To FPSCR Bit 1): Ditto.
+ (Move To FPSCR Bit 0): Ditto.
+ (Move To FPSCR Field Immediate): Ditto.
+ (Move to Condition Register from FPSCR): Simplify.
+ (invalid_arithemetic_operation): Generate a QNaN when invalid
+ operation exception disabled.
+
+Tue May 20 10:22:50 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim_calls.c (sim_open): Add callback argument.
+ (sim_set_callbacks): Delete.
+
+Tue Apr 22 22:36:57 1997 Mike Meissner <meissner@cygnus.com>
+
+ * sim_callbacks.h (error): Make declaration match gdb's.
+ * main.c (error): Ditto.
+
+Fri Apr 18 17:03:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim_calls.c (sim_stop_reason): Simplify. Was running implies
+ stopped/SIGINT. Exit implies a status code.
+
+ * psim.c (cntrl_c_simulation): From main.c. Event function that
+ halts the simulator.
+ (psim_stop): New. Asynchronously schedule a stop simulator event.
+ (psim_run_until_stop): Delete. Made redundant by psim_stop.
+
+ * main.c (cntrl_c): Update.
+ (cntrl_c_simulation): Moved to psim.c.
+
+ * sim_calls.c (sim_stop): New function. Use psim_stop which
+ schedules a stop event.
+ (sim_resume): Drop SIGINT handler, now in gdb/main.c.
+ (sim_resume): Use psim_run as stop variable no longer needed.
+
+Fri Apr 18 17:03:08 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * psim.c (psim_options): Handle -E option correctly.
+ (psim_usage): Document.
+
+Thu Apr 17 03:28:03 1997 Doug Evans <dje@canuck.cygnus.com>
+
+ * psim.c (psim_options): Ignore -E option (sets endianness).
+ * sim_calls.c: #include bfd.h.
+ (entry_point): New static local.
+ (sim_load): Return SIM_RC. New arg abfd. Set start address from bfd.
+ (sim_create_inferior): Return SIM_RC. Delete arg start_address.
+
+Tue Apr 15 14:57:18 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * Makefile.in (INSTALL): Set to @INSTALL@.
+ (INSTALL_XFORM, INSTALL_XFORM1): Remove.
+ (install): Depend upon installdirs. Use $(program_transform_name)
+ directly, rather than using $(INSTALL_XFORM).
+ (installdirs): New target.
+
+Fri Apr 4 17:54:36 1997 Jim Wilson <wilson@cygnus.com>
+
+ * Makefile.in (tmp-hw, tmp-pk): Use for loop to eliminate duplicates
+ rather than the non-portable cat -n.
+
+Mon Apr 14 16:29:51 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * Makefile.in (INSTALL): Change install.sh to install-sh.
+
+Tue Apr 1 18:15:14 1997 Jim Wilson <wilson@cygnus.com>
+
+ * ppc-instructions: Change milhwu to mulhwu.
+
+Wed Apr 2 15:38:08 1997 Doug Evans <dje@canuck.cygnus.com>
+
+ * sim_calls.c (sim_open): New arg `kind'.
+
+Wed Apr 2 14:51:17 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * COPYING: Update FSF address.
+
+Tue Mar 25 16:17:59 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+ * main.c (sim_io_read_stdin): Only compile unbuffered IO code if
+ all the required features are supported by the host OS.
+
+Tue Mar 25 12:13:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+ * emul_bugapi.c (emul_bugapi_create): Guard against NULL images.
+
+ * configure.in (enable-sim-endain): Correct typo in usage (from
+ Erik Landry <landry@ENGR.ORST.EDU>).
+ * configure: Re-generate.
+
+Fri Mar 14 18:23:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
+
+ * Makefile.in (targ-vals.def): Re-do rule so that it works with
+ FreeBSD's make. Didn't like $<.
+
+Thu Mar 13 12:55:48 1997 Doug Evans <dje@canuck.cygnus.com>
+
+ * sim_calls.c (sim_open): New SIM_DESC result. Argument is now
+ in argv form.
+ (other sim_*): New SIM_DESC argument.
+
+Thu Feb 13 10:35:14 1997 Andrew Cagney <cagney@phydeaux.cygnus.com>
+
+ * ppc-opcode-simple-array, ppc-opcode-simple-goto,
+ ppc-opcode-simple-switch, ppc-opcode-complex-array,
+ ppc-opcode-complex-goto, ppc-opcode-complex-switch,
+ ppc-opcode-jump, ppc-opcode-goto, ppc-opcode-flat: Delete,
+ superseeded by --sim-decode-mechanism option.
+
+ * ppc-opcode-simple, dc-simple: Rename to be 8.3
+ * ppc-opcode-complex, dc-complex: Ditto.
+ * ppc-opcode-stupid, dc-stupid: Ditto.
+ * ppc-opcode-test-1, dc-test.01: Ditto.
+ * ppc-opcode-test-2, dc-test.02: Ditto.
+
+ * configure.in (--enable-sim-opcode): Change prefix to dc- instead
+ of ppc-opcode-.
+
+Wed Feb 12 19:33:45 1997 Andrew Cagney <cagney@phydeaux.cygnus.com>
+
+ * Many of the ppc-opcode-* files are identical baring the type of
+ lookup table. Instead of having multiple tables, igen can do this
+ via an additional option.
+
+ * ld-decode.h, ld-decode.c (force_decode_gen_type): New function,
+ allow the type of generated table specified in the decode file to
+ be overridden.
+
+ * ld-decode.c (load_decode_table): Allow the table type to be
+ overridden.
+
+ * igen.c (main): Add -T <mechanism> option so that an overriding
+ instruction decode mechanism can be specified.
+
+ * configure.in: New option --sim-decode-mechanism to control
+ igen's new -T <mechanism> flag.
+ * Makefile.in (IGEN_FLAGS): Add IGEN_IDECODE_MECHANISM set by the
+ configure script.
+ * configure: Regenerate.
+
+Tue Feb 11 13:49:10 1997 Michael Meissner <meissner@tiktok.cygnus.com>
+
+ * events.c (event_queue_create): Don't use NULL to initialize an
+ integer field.
+ (even_queue_{init,schedule_after_signal,tick}): Conditionalize use
+ of sigprocmask to appropriate autoconf test.
+
+ * main.c ({cntrl_c,main}): Use RETSIGTYPE for signal return type,
+ don't assume void.
+ * sim_calls.c (sim_{ctrl_c,resume}): Ditto.
+
+ * Makefile.in (callback.o): Define HAVE_CONFIG_H, so callback.c
+ includes our config.h.
+
+Tue Feb 4 13:42:59 1997 Doug Evans <dje@canuck.cygnus.com>
+
+ * configure.in: Fix typo in test for callback.c.
+ * configure: Regenerated.
+
+Fri Feb 7 10:04:25 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * emul_chirp.c (emul_chirp_create): Handle a virtbase of -1 being
+ found in the device tree.
+
+Wed Feb 5 10:56:27 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * Property create/initialization still wasn't correctly ordered.
+ Should be delaying everything related to ihandle creation until
+ after the rest of the tree has been established.
+
+ * device.c (device_find_ihandle_runtime_property): Update.
+ (device_add_ihandle_runtime_property): Update.
+
+ * tree.c (parse_ihandle_property): Delay lookup of the device to
+ be opened until the ihandle initialization phase.
+ * tree.c (print_properties): Update.
+
+Wed Feb 5 10:56:27 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * gen-icache.c (print_icache_extraction): Add a reason parameter.
+ Augment each extracted field with a comment citing the codes
+ origin. Should simplify tracking down incorrect cache
+ extractions.
+
+Tue Feb 4 17:44:51 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * gen-icache.c: Generalize code handling XXX_is_NNN so that it
+ works for normal and boolean table entries.
+
+ * psim.c (psim_write_memory): last_cpu == -1 or nr_cpus is now
+ valid. Handle this just like *_{read,write}_register now handles
+ it.
+
+Mon Feb 3 17:18:16 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * events.c (insert_event_entry): Correct loop termination
+ assertions.
+
+Fri Jan 31 16:20:26 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * psim.c (psim_options): Add new option -c for max-iterations or
+ count.
+ (psim_usage): Document.
+ (psim_max_iterations_exceeded): New function, abort simulation if
+ max iterations exceeded.
+
+ * gen-idecode.c: Re-work the table lookup code so that it assumes
+ that the entry is a leaf by default. Simplify the boolean table
+ entry code so that it involves a mask + test instead of shift +
+ shift + mask + test.
+
+ * gen-idecode.c: Correct generated igen body so that it no drops
+ or doubles clock interrupts.
+
+
+Thu Jan 30 11:23:20 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * Makefile.in (BUILT_SRC_WO_CONFIG): Change targ-vals.* to
+ @sim_targ_vals@
+
+ * configure.in (sim_callback, sim_targ_vals): Set sim_targ_valls
+ if common callback is present.
+
+Wed Jan 29 12:32:41 1997 Michael Meissner <meissner@tiktok.cygnus.com>
+
+ * configure.in (sim_callback): If the gdb is post 4.16, configure
+ callback support from the common directory.
+ * configure: Regenerate.
+
+ * Makefile.in (BUILT_SRC_WO_CONFIG): Add targ-vals.{h,def} and
+ targ-map.c.
+ (GDB_OBJ): Add callback support configured in.
+ (gentmap,targ-vals.def): Build from common directory.
+ (targ-vals.h,targ-map.c): Build by running gentmap.
+ (callback.o): Build from source in common directory.
+ (targ-map.o): Add dependency.
+ (clean): Remove gentmap.
+
+Wed Jan 29 12:14:19 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * igen wasn't aborting if the opcode table contained no valid
+ fields.
+
+ * misc.c (name2i): Possibly abort if an invalid name is
+ encountered.
+ * ld-decode.c: Abort if the table type isn't found.
+
+Wed Jan 29 12:14:19 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * When performance monitoring is disabled, it is still possible to
+ determine the simulation speed by looking at the number of elapsed
+ ticks recorded by the event queue.
+
+ * psim.c (psim_write_register, psim_read_register): Force the cpu
+ to zero when it is either of `-1' or `nr_cpus'. In both cases the
+ next cpu would be zero any way.
+
+ * mon.c (mon_print_info): If possible, print the system cycle
+ performance. This is an indication of the number of instructions
+ per second.
+
+Wed Jan 29 12:14:19 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * The code to allow an event queue to be updated during a signal
+ was missing. For main.c, a cntrl-c simulation termination wasn't
+ handled cleanly.
+
+ * The simulation would not correctly restart if an event requested
+ that the simulation be halted.
+
+ * psim.c (psim_options): Add hack to -i option to optionally
+ include a level vis -i2.
+ (psim_usage): Document.
+
+ * main.c (cntrl_c, cntrl_c_simulation): New functions. When a
+ cntrl-c occures schedule an event to halt the simulation.
+ (main): Catch CNTRL-C signals with the function cntrl_c.
+
+ * events.c (event_queue_process): Mask interrupts while
+ manipulating the async event queue.
+ (event_queue_init): Ditto.
+ (event_queue_schedule_after_signal): Ditto.
+
+ * events.c (event_queue_process): Mark the event queue as being in
+ the processing state when processing has started. Adjust code
+ so that it is tolerant of halts.
+ (event_queue_init): Start the event queue out with processing
+ false.
+ (event_queue_tick): Check that processing isn't still being
+ performed.
+
+ * gen-idecode.c (print_run_until_stop_body): Call
+ event_queue_process_events to clear possibly pending events before
+ starting a simulation run. Re-arange main loop so that simulator
+ is correctly restarted when an event halts the simulation.
+
+ * psim.c (psim_halt): Handle an event halting the simulation.
+ * psim.c (psim_init): Adjust initial cpu - == -1 - to match
+ reworked idecode.
+
+Wed Jan 29 12:14:19 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * ppc-opcode-complex: Correct typo - was expanding ORA instead of
+ RA. Based on instruction frequency stats, expand additional
+ instructions.
+ * ppc-instructions: Change all `RA == 0' to RA_is_0.
+
+ * ppc-opcode-stupid: Move all but the basic table in -complex into
+ here. Update to new format.
+
+ * Makefile.in (tmp-defines): New target. Force defines.h to always
+ be built. Hence get ppc-opcode-goto to build.
+
+Tue Jan 28 13:00:19 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * hw_com.c (hw_com_instance_read, hw_com_instance_write):
+ Implement.
+
+Thu Jan 23 09:07:26 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * hw_trace.c (hw_trace_init_data): Delete. The trace options need
+ to be initialized independant of the rest of the simulation
+ initalization. Otherwize a trace option explictly set from gdb
+ could be overridden by hw_trace.
+
+ * psim.c (psim_options): Clarify reason why the trace ioctl occures.
+
+ * FIXME: The trace code is too scattered - hw_trace.c, psim.c,
+ debug.c. It could be much simpler.
+
+Thu Jan 23 09:07:26 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * Some devices support removable media. Add hooks to the disk
+ device so that it supports this.
+
+ * device.c (device_add_string_array_property,
+ device_find_string_array_property): New functions, manipulate
+ properties containing an array of strings.
+ (device_find_string_property): Allow a string array.
+ (device_init_static_properties): Update.
+ (device_init_runtime_properties): Update.
+
+ * hw_disk.c (hw_disk_ioctl): Add ioctl for changing the disk
+ media. If no file image is specified, use the next one in the
+ image property list.
+ (hw_disk_init_address): Change the file property so that it is a
+ string array - use the first entry for the initial file image.
+
+ * tree.c (print_string_aray_property): New function - print a
+ string array.
+ (print_properties): Adjust.
+ (print_string): Write a string, handling double quotes.
+
+ * device.h: Define an ioctl to `change-media' with an optional new
+ media image.
+
+ * hw_disk.c: Allow floppy disk devices to be specified.
+
+ * psim.c (psim_command): New function, parse more complex psim
+ commands such as "change-media" and "trace".
+ * sim_calls.c (sim_do_command): Use.
+
+Wed Jan 22 09:38:33 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * For expressions like (RA == 0) that are entered in to the cache
+ as RA_is_0. If possible generate the result of the expression so
+ that the compiler gets a better chance of eliminating dead
+ branches.
+
+ * gen-icache.c (print_icache_extraction): For a cache entry of
+ the form <name>_is_<const> where it is a boolean field, generate
+ the result of the expression instead of the expression its self.
+ (print_icache_body): Remove code that was looking for *_is_0 and
+ then generating corresponding definitions.
+
+ * gen-icache.c (print_icache_struct): If there is no cache, do not
+ output expressions in idecode.h file.
+
+ * gen-icache.c (print_icache_body): Output them here.
+
+ * ppc-opcode-complex: Clarify constant values for SPR==LR register
+ expansion.
+
+ * ppc-cache-rules (RA_is_0, SPR_is_256): Two new cache entries.
+
+Wed Jan 22 12:24:52 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * The code that put values in and extracted values from the cache
+ was too compilicated. The cache table did not allow values to be
+ computed from cache entries. #defines could only be used when a
+ cache was present, remove the restriction.
+
+ * ld-cache.h, ld-cache.c: Add a new cache entry type - SCRATCH. A
+ scratch variable is defined when a cache entry is beinf
+ filled. Change the definition of a COMPUTE variable to be defined
+ when the cache entry is being used.
+ * gen-icache.c: Update.
+
+ * ld-cache.h, ld-cache.c: Change field names so that their meaning
+ is more obvious. old_name->field_name, new_name->derived_name.
+ * gen-icache.c: Update
+
+ * gen-icache.h, gen-icache.c (print_icache_body): Make the three
+ different types of cache code - put into cache, extract from
+ cache, no cache - an explicit argument to print_icache_body.
+ * gen-icache.c (print_icache_extraction): Ditto.
+
+ * gen-semantics.c (print_c_semantic): Update use.
+ * gen-idecode.c (print_jump_insn): Update use.
+ * gen-icache.c (print_icache_function): Update use.
+
+ * igen.c (main): Change 'R' option so that it does not force the
+ cache.
+
+ * configure.in (enable-sim-icache): Clarify description. Make
+ #define one of the defaults regardless of the cache. Probably
+ should revamp and add a separate option.
+
+Tue Jan 21 13:26:10 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * pk_disklabel.c (block_is_fdisk): Tidy up traces - use dos
+ partition numbering.
+ (pk_disklabel_create_instance): Partition 1..4 are valid - not
+ 1..3.
+ (is_iso9660): New function, verify a CD9660 File system.
+ (pk_disklabel_create_instance): Start expanding so that active
+ partition selection is supported.
+
+Mon Jan 20 11:20:15 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * The cap object was retaining a reference to the instance of a
+ device after it was deleted. Instead add and remove cap's from the
+ cap db as they are created and deleted. This ensuring that a
+ capibility is only used during the lifetime of the corresponding
+ object.
+
+ * cap.h, cap.c: Correct cap type - was signed32 should be
+ signed_cell.
+
+ * cap.c (cap_add, cap_remove): New methods for cap object that
+ allow the explicit addition and removal of internal objects that
+ the cap knows about.
+
+ * cap.c (cap_init): Rewrite. Verify that the only objects
+ remaining in the cap data base are those that were entered first.
+ Thse objects will be the permenant ones.
+ * device.c (device_init_address): Remember to initialize the cap
+ database.
+
+ * device.c (device_create_instance_from): Explicitly add device
+ instances to the cap database. Simplify create code.
+ (device_instance_delete): Explicitly remove device instances from
+ the cap database.
+
+ * device.c (device_create_from): Explicitly add a device to the
+ cap data base.
+
+ * device.c (device_create_from): Always set the cap members.
+
+ * hw_disk.c: Output the instance when tracing.
+
+Sun Jan 19 16:44:29 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * tree.c (split_device_specifier): Add support for aliases when
+ looking up a device. Now needs a device as an argument.
+ (split_property_specifier): Ditto.
+
+Sun Jan 19 15:28:23 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * The memory "claim" and "release" methods take an address and
+ size as arguments. These may be multi cell values. Initially fix
+ the memory code so that they check/detect this. Leave the
+ adjustment of any clients to later.
+
+ * hw_memory.c (hw_memory_instance_claim,
+ hw_memory_instance_release): Handle multi-cell memory devices.
+
+ * hw_memory.c (hw_memory_instance_claim): Be tolerant towards the
+ release of memory regions that were not claimed.
+
+Fri Jan 17 12:01:07 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * device.h, device.c (device_instance_call_method): Correct return
+ type - can return either 0 or -1, hence should be a signed type.
+ * device_table.h: Ditto.
+
+ * hw_memory.c (hw_memory_instance_claim,
+ hw_memory_instance_release): Update.
+ * hw_disk.c (hw_disk_max_transfer, hw_disk_block_size,
+ hw_disk_nr_blocks): Ditto.
+
+Fri Jan 17 11:50:13 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * emul_chirp.c (chirp_emul_claim): Implement using the "claim"
+ method belonging to "/chosen/memory".
+ (chirm_emul_release): Ditto.
+
+ * Makefile.in (LIB_INLINE_SRC): Remove emul_* from list of files
+ that are inlined. These modules are called via a table and are
+ not made inline.
+
+ * hw_init.c (update_for_binary_section): Fix failure to allocate
+ memory used by the binary in real-mode executions. If "claim"
+ property is present, allocate memory from the "/chosen/memory"
+ device.
+
+ * emul_chirp.c (emul_chirp_create): Specify that memory should be
+ claimed when loading a real image.
+
+ * hw_memory.c (hw_memory_instance_claim): Don't page align memory
+ allocations.
+
+ * hw_memory.c (hw_memory_instance_release): Avoid infinite loop
+ when merging adjacent memory chunks.
+
+Thu Jan 16 08:51:25 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * vm.h (vm_data_map_read_buffer, vm_data_map_write_buffer): Add
+ optional PROCESSOR & CIA args so that this routine also abort an
+ access.
+
+ * vm_n.h (vm_data_map_read_N, vm_data_map_write_N): For a
+ miss-aligned access when a transfer fails abort.
+
+ * emul_bugapi.c (emul_bugapi_do_write): Use emul_read_buffer
+ instead of the vm_read_buffer.
+ * emul_netbsd.c (do_write): Ditto.
+ * emul_unix.c (do_unix_write): Ditto.
+
+Wed Jan 15 14:38:25 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * configure.in (--enable-sim-jump): Default is NULL and not -E.
+ * configure: Regenerate.
+
+ * basics.h (__attribute__): Enable attributes if GCC >= 2.6.
+ (UNUSED): Only enable UNUSED if GCC >= 2.7.
+
+ * gen-icache.c (print_icache_extraction): Print UNUSED macro
+ instead of explicit __unused__ attribute.
+ (print_icache_body): Ditto.
+ * idecode_expression.h (FPSCR_BEGIN): Use UNUSED.
+
+Wed Jan 15 13:54:50 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * cpu.h, cpu.c (cpu_synchronize_context): Add CIA argument as
+ reference point.
+
+ * vm.c (vm_synchronize_context): Add PROCESSOR and CIA as
+ arguments so that there is a reference point for recovery.
+ (vm_synchronize_context): Pass processor+cia for errors.
+ (om_unpack_sr): Ditto.
+ (om_unpack_srs): Ditto.
+ * vm.c (vm_create): Review error messages.
+
+ * vm.c: Include "cpu.h" so that cpu_error is visible.
+
+ * ppc-instructions (Return From Interrupt): Pass CIA.
+ (Instruction Synchronize): Ditto.
+ * psim.c (psim_init): Ditto.
+
+Wed Jan 15 12:25:11 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * cpu.h, cpu.c (cpu_error): Aborts simulation with error message,
+ but also saves current processor state.
+
+ * basics.h: Move #include <stdarg.h> to here from device_table.h.
+
+ * interrupts.c (perform_oea_interrupt): Use. No longer loose CIA
+ when simulation aborted.
+ (program_interrupt): Ditto.
+ (floating_point_unavailable_interrupt): Ditto.
+ (alignment_interrupt): Ditto.
+ (floating_point_assist_interrupt): Ditto.
+ (perform_oea_interrupt): Ditto.
+ (machine_check_interrupt): Ditto.
+
+Tue Jan 14 12:19:10 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * ppc-instructions (Move from Special Purpose Register): Support
+ move from DEC.
+
+Mon Jan 13 16:58:12 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * debug.h, debug.c: Add "interrupts" trace option.
+
+ * interrupts.c (data_storage_interrupt): Add tracing.
+ (machine_check_interrupt): Ditto.
+ (instruction_storage_interrupt): Ditto.
+ (alignment_interrupt): Ditto.
+ (program_interrupt): Ditto.
+ (floating_point_unavailable_interrupt): Ditto.
+ (system_call_interrupt): Ditto.
+ (floating_point_assist_interrupt): Ditto.
+ (deliver_hardware_interrupt): Ditto.
+
+ * interrupts.c (program_interrupt): For UEA mode, halt the
+ processor - so that the current state is saved - instead of
+ aborting.
+ (floating_point_unavailable_interrupt): Ditto.
+ (floating_point_assist_interrupt): Ditto.
+
+Thu Jan 2 09:10:41 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * interrupts.c (perform_oea_interrupt): Halt rather than abort on
+ a double interrupt.
+
+Wed Jan 1 22:54:52 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * ppc-instructions (Store Multiple Word, Load Multiple Word):
+ Enable.
+
+ * tree.c (print_properties): For an array consider printing it out
+ as an integer array.
+
+ * hw_memory.c (hw_memory_init_address): If an "available" property
+ is present, use that to initialize the available memory instead of
+ using the reg property.
+
+ * emul_generic.c (emul_add_tree_hardware): Add "available"
+ property to memory device.
+
+Fri Dec 20 13:19:07 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * ppc-instructions (Rotate Left Word then AND with Mask): Enable.
+
+ * device.c (device_instance_call_method): Was only looking at the
+ first method.
+
+ * hw_disk.c (hw_disk_nr_blocks): Implement #blocks method.
+ (hw_disk_block_size): Implement block-size method.
+ (hw_disk_max_transfer): Implement max-transfer method.
+
+ * hw_phb.c (hw_phb_init_address): Reinit the rest of the PHB.
+
+ * emul_chirp.c (chirp_emul_instance_to_path): Recover from an
+ invalid ihandle.
+ (chirp_emul_instance_to_package): Ditto.
+ (chirp_emul_method): Ditto.
+ (chirp_emul_read): Ditto.
+ (chirp_emul_write): Ditto.
+ (chirp_emul_close): Ditto.
+ (chirp_emul_seek): Ditto.
+ (chirp_emul_package_to_path): Ditto (for phandle).
+ (chirp_emul_package_to_path): Return the length.
+
+ * psim.c (psim_merge_device_file): Allow continuation lines.
+
+Thu Dec 19 11:09:43 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * emul_chirp.c (chirp_emul_boot): Implement. Well report the new
+ string and exit.
+
+ * emul_chirp.c (chirp_emul_exit): Correct type of args struct
+ members - *_cell not host dependant int.
+
+Wed Dec 18 17:49:59 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * interrupts.c (perform_oea_interrupt): Print additional
+ information if a double interrupt is encountered.
+
+Wed Dec 18 17:49:59 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * psim.c (psim_merge_device_file): Tolerate an incorrect file-name
+ being specified with the -f option.
+ (psim_merge_device_file): Correct check for end of string.
+
+Wed Dec 18 17:49:59 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * emul_chirp.c (chirp_emul_peer): Was falling off the end of the
+ list of devices. Return zero to the client instead.
+ * emul_chirp.c (chirp_emul_child): Ditto
+ * emul_chirp.c (chirp_emul_parent): Ditto
+
+ * device.c (device_root): Assert assumption about the device being
+ valid.
+
+Tue Dec 17 15:12:38 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * emul_chirp.c (emul_chirp_create): Add description property to
+ each significant node in the device tree.
+ * emul_bugapi.c (emul_bugapi_create): Ditto.
+
+Fri Dec 13 14:30:31 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * main.c (sim_io_read_stdin): For a single byte STDIO read, use a
+ tempoary two byte buffer. Single byte read with fgets will not
+ work.
+ * main.c: Include errno.h.
+ (sim_io_read_stdin): For non-STDIO, make it work.
+
+ * emul_chirp.c (chirp_emul_read): Return the correct error status.
+
+Fri Dec 13 14:30:31 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * std-config.h (WITH_STDIO): Don't hard-wire the STDIO mechanism.
+ Instead have each emulation default it to DO_USE_STDIO.
+
+ * emul_generic.c (emul_add_tree_options): Select the STDIO I/O
+ mechanism as the default if enabled or if nothing selected.
+
+ * sim_calls.c (sim_io_read_stdin): Passify GCC's desire for a
+ return value.
+ (sim_io_write_stdout): Ditto.
+ (sim_io_write_stderr): Ditto.
+ * main.c (sim_io_write_stdout): Ditto.
+ (sim_io_write_stderr): Ditto.
+ (sim_io_read_stdin): Ditto.
+
+Tue Dec 10 10:31:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
+
+ * emul_chirp.c (emul_chirp_instruction_call): Make *printf calls
+ type correct.
+ * vm.c (om_effective_to_virtual): Ditto.
+ * events.c (event_queue_schedule{,_after_signal}): Ditto.
+ (event_queue_{deschedule,process}): Ditto.
+ * hw_htab.c (htab_decode_hash_table): Ditto.
+ (htab_map_{page,binary}): Ditto.
+ * hw_opic.c (hw_opic_init_data): Ditto.
+ (handle_interrupt): Ditto.
+ (do_processor_init_register_{read,write}): Ditto.
+ (write_vector_priority_register): Ditto.
+ ({read,write}_destination_register): Ditto.
+ (do_suprious_vector_register_{read,write}): Ditto.
+ (do_current_task_priority_register_N_{read,write}): Ditto.
+ (do_timer_frequency_reporting_register_{read,write}): Ditto.
+ (do_timer_N_{current,base}_count_register_{read,write}): Ditto.
+ (do_ipi_N_dispatch_register_write): Ditto.
+ (do_vendor_identification_register_read): Ditto.
+ (do_feature_reporting_register_N_read): Ditto.
+ (do_global_configuration_register_N_{read,write}): Ditto.
+ * hw_phb.c (hw_phb_attach_address): Ditto.
+ (hw_phb_unit_decode): Ditto.
+ (hw_phb_address_to_attach_address): Ditto.
+ (hw_phb_io_{read,write}_buffer): Ditto.
+ * hw_ide.c (setup_fifo): Ditto.
+
+ * sim_calls.c ({defs,callback,remote-sim}.h): Find gdb include
+ files via -I<dir> instead of using "../../gdb/" prefixes.
+
+Tue Dec 10 10:12:44 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * debug.h: Add tracing for the pal device.
+ * hw_pal.c: Update.
+
+ * emul_chirp.c (chirp_emul_getprop): More tracing.
+
+Tue Dec 10 10:12:44 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * device.h, device.c (device_find_ihandle_runtime_property): New
+ function. Reverse of add_ihandle_runtime property.
+ (device_init_runtime_properties): Use it.
+
+ * device.c (find_property_entry): New function returns the
+ internal property spec.
+ (device_set_property): Use.
+ (device_find_property): Use.
+
+Tue Dec 10 10:12:44 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * psim.c (psim_merge_device_file): Strip newline from device
+ specs.
+
+Tue Dec 10 10:12:44 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * hw_htab.c (htab_map_binary): For overlapping text / data maps
+ merge the two. Also check that the merge is safe.
+
+ * emul_chirp.c (emul_chirp_create): Add a description property to
+ the pte's so that they are easier to identify.
+
+ (emul_chirp_create): Don't specify a load address for the CHRP
+ image. Always use the values specified by the executable.
+
+ * hw_htab.c (htab_map_page): Abort if a duplicate map is
+ encountered.
+
+Mon Dec 9 12:08:46 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * hw_htab.c (htab_map_page): Formatting.
+
+ * emul_chirp.c (emul_chirp_instruction_call): Check for a NULL
+ method name when handling the client call. Also check for other
+ bad call arguments.
+
+ * emul_chirp.c (emul_chirp_create): Allow real-mode?, real-base,
+ etc to be overriden.
+
+Mon Dec 9 12:08:46 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * os_emul.c (os_emul_create): Use tree find property instead of
+ device find property - sigh.
+
+Thu Dec 5 10:46:42 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * 961205: Release snapshot 961205.
+
+Thu Dec 5 10:46:42 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * configure.in (hostbitsize, bitsize): Fix typo in error message -
+ cannot contain a comma.
+ (sim-warnings): Check for more potential errors.
+
+ * psim.c (psim_usage): Add -f <file> option. Specifies a file
+ containing device tree specifications that should be merged into
+ the device tree.
+
+ * configure.in: Sort options.
+ * configure: Rebuild
+
+Wed Dec 4 13:57:31 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * psim.c (psim_usage): Add -n option - specify number of
+ processors.
+
+ * emul_chirp.c: Add description.
+ * emul_bugapi.c: Ditto.
+ * emul_unix.c: Ditto.
+ * emul_netbsd.c: Ditto.
+
+Fri Nov 29 11:12:22 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * hw_pal.c (hw_pal_attach_address): New function, if an attach is
+ encountered, assume that it is the single disk.
+ * hw_pal.c: Add generic device/size decode methods.
+
+ * hw_nvram.c (hw_nvram_init_address): Use the first nonzero reg
+ property entry when determining the nvram size.
+
+ * hw_core.c: Add generic address/size decode methods.
+
+ * emul_chirp.c (emul_chirp_instruction_call): Return and trace
+ nonzero status from client functions.
+
+ * main.c (error): Always include a cariage return when writing out
+ errors.
+
+Wed Nov 20 00:36:55 1996 Doug Evans <dje@canuck.cygnus.com>
+
+ * sim_calls.c (sim_resume): Reset sim_should_run if single
+ stepping.
+
+Thu Nov 28 13:19:46 1996 Andrew Cagney <cagney@kremvax.tpgi.com.au>
+
+ * emul_bugapi.c (emul_bugapi_do_diskio): Add support for multiple
+ optional disks.
+
+ * emul_generic.c (emul_add_tree_hardware): Drop the dummy eeprom.
+ Attach the pal - for I/O - as a pseudo device haning from the
+ firmware sub tree.
+
+ * emul_bugapi.c (emul_bugapi_create): Add a small memory device to
+ the device tree at the address of the hi-mem interrupt vector
+ addreses. Used by bugapi to establish its trap instructions.
+
+ * debug.h: Add a new macro DITRACE for tracing device instances.
+
+ * debug.h: Extend the DTRACE macro so that it can also tests for
+ device specific tracint.
+
+ * device.h, device.c (device_trace): Add method to determine
+ device specific tracing.
+ (device_init_address): Set the devices tracing level.
+
+Thu Nov 21 12:05:32 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * tree.h, tree.c (tree_device): New files - separate out the
+ device parser and other tree operations from the device.
+
+ * inline.h, inline.c (INLINE_TREE): Add.
+ * device.h, device.c (device_tree_add_parsed): Delete.
+ * Makefile.in (tree.c): Add rules for new file.
+ * Makefile.in: Better order the emul_* files.
+
+ * emul_generic.c (emul_add_tree_hardware): Update.
+ * emul_netbsd.c (emul_netbsd_create): Update.
+ * emul_unix.c (emul_unix_create): Ditto.
+ * emul_chirp.c (emul_chirp_create): Ditto.
+ * emul_bugapi.c (emul_bugapi_create): Ditto.
+ * psim.c (psim_tree): Ditto.
+ * hw_init.c: Ditto.
+
+ * emul_generic.h: Include tree.h
+ * Makefile.in: Add to EMUL_GENERIC_H dependencies.
+
+ * device.h, device.c (device_root): New function - returns the
+ root of the tree.
+ * corefile.c: Use.
+
+ * device.h, device.c (device_clean): New function, clean up device
+ ready for next simulation run. This includes things like deleting
+ interrupt edges and properties created during the simulation and
+ also scrubbing any pre-defined properties.
+ * tree.c (tree_init): Use.
+
+ * device.h, device.c (device_init_static_properties): New
+ function. Initialize any static predefined properties. By static
+ we mean those that have values that can be determined before the
+ device tree initialization has started.
+ * tree.c (tree_init): Use.
+
+ * device.h, device.c (device_init_address): Add code to
+ check/verify the devices #address-cells and #size-cells.
+ (device_add_integer_property): Delete corresponding code.
+ (device_nr_address_cells, device_nr_data_cells): Check for
+ property when returning value.
+
+ * device.h, device.c (device_init_runtime_properties): New
+ function. Initialize those properties that are not `static'. At
+ present the only such property is the ihandle.
+ * tree.c (tree_init): Use.
+
+ * device.h, device.c (reg, ranges): Rework these so that they use
+ an array of the fundamental type - single reg or single range
+ entry.
+
+ * device.h, device.c (device_add_ihandle_runtime_property):
+ Re-implement the adding of an ihandle during tree construction so
+ that it better fits in with device initialization.
+
+Thu Nov 21 12:05:32 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * device.h, device.c (device_ioctl): Add additional argument -
+ request - so that the caller must always specify the type of
+ the ioctl request.
+
+ * device_table.h: Update.
+ * hw_trace.c (hw_trace_ioctl): Ditto.
+ * hw_vm.c (hw_vm_ioctl_callback): Ditto.
+ * hw_init.c (hw_stack_ioctl_callback): Ditto.
+ * psim.c (psim_options): Ditto.
+
+Thu Nov 21 12:05:32 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * BUGS: Updated a bit.
+
+Wed Nov 20 14:06:37 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * hw_opic.c: Finish - third round.
+
+Wed Nov 20 12:02:08 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * hw_glue.c (hw_glue_io_read_buffer_callback): Fix miscalc of glue
+ reg index.
+ (hw_glue_io_write_buffer_callback): Ditto.
+
+Tue Nov 19 21:17:08 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * events.c (event_queue_process): Was incorrectly consuming future
+ events on the queue when they should be left alone.
+
+ * debug.h, debug.c (events): Add support for event queue tracing.
+ * events.c: Add event tracing.
+
+ * debug.h, debug.c: Order device trace options.
+
Fri Nov 15 15:23:39 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* pk_disklabel.c (pk_disklabel_create_instance): Fix up some
warnings generated by GCC.
+Sun Nov 17 17:59:14 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * sim-endian.h: Add LE versions of byte swap macros. Needed for
+ PCI devices which are little-endian.
+
+ * sim-endian-n.h (endian_le2h_N, endian_h2le_N): Ditto
+
+Sun Nov 17 17:59:14 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * hw_iobus.c (hw_iobus_attach_address_callback): Change the iobus
+ so that it is implementing a 1-1 address map.
+
+ * emul_generic.c (emul_add_tree_hardware): Adjust.
+
+ * emul_generic.c (emul_add_tree_hardware): Don't add the nvram as
+ a default.
+
+Sun Nov 17 17:59:14 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * device.c (split_find_device): Be tolerant of missing unit
+ addresses.
+
+Fri Nov 15 16:49:49 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * basics.h (port_direction): New type, specify the direction of
+ any `port'.
+
+ * device.h, device.c (device_interrupt_decode): Include
+ specification of port direction in operations.
+ (device_interrupt_encode): Ditto.
+
+ * device_table.h: Add a direction field to the interrupt port
+ table.
+
+ * device.c (device_tree_add_parsed): Specify port direction.
+
+Thu Nov 14 21:38:13 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * hw_opic.c: Finish - second round.
+
+Thu Nov 7 00:18:59 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * hw_htab.c (htab_init_data_callback): Allow the virtual-address
+ to be specified as an array which allows 64bit addresses.
+
+ * device.c (device_find_integer_array_property): New function.
+ Simplify the querying of elements of an integer array.
+ (device_add_integer_property, device_find_integer_property):
+ Update to correctly use the cell type.
+
+ * vm.c (om_unpack_sr): Clarify shifting comment.
+ (om_pte_0_masked_vsid): Ditto. Add 64bit version.
+
+ * emul_chirp.c (emul_chirp_create): Initialize the segment
+ registers.
+
+ * vm.c (om_effective_to_virtual): Trace segment register use.
+
+ * hw_htab.c (htab_map_page): Print out the pteg base address to
+ simplify cross checking between vm and the htab.
+ (htab_decode_hash_table): Use device_error instead of error.
+ (htab_map_page): Ditto.
+ (htab_dma_binary): Ditto.
+ (htab_map_binary): Ditto.
+ (htab_init_data_callback): Ditto.
+
+Wed Nov 6 20:20:58 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * interrupts.h: Clarify what the optional instruction program
+ interrupt is - a subset of illegal instruction program interrupt.
+
+ * interrupts.c (program_interrupt): For UEA mode, clarify what an
+ optional instruction program interrupt is.
+ (program_interrupt): For OEA mode, as per spec, generate an
+ illegal instruction program interrupt when an optional instruction
+ is encountered.
+
+ * gen-semantics.c (print_semantic_body): Delete code
+ differentiating between an unimplemented floating point and normal
+ instruction. Instead, such a case can be handled explicitly.
+
+ * ppc-instructions (store floating-point as integer word indexed):
+ Mark as optional.
+ (Floating Convert to Integer Doubleword): Make the floating point
+ assist interrupt explicit.
+ (Floating Convert To Integer Doubleword with round towards Zero):
+ Ditto.
+ (Floating Convert To Integer Word): Ditto
+ (Move From FPSCR): Ditto.
+ (Move to Condition Register from FPSCR): Ditto.
+ (Move To FPSCR Fields): Ditto.
+ (Move To FPSCR Field Immediate): Ditto.
+ (Move To FPSCR Bit 0): Ditto.
+ (Move To FPSCR Bit 1): Ditto.
+
+Mon Nov 4 12:49:13 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * corefile.c (core_map_read_buffer, core_map_write_buffer): Avoid
+ breaking up transfers.
+
+ * corefile.c: Adjust arguments so that the client server
+ relationship is clarified.
+
+ * hw_glue.c (hw_glue_init_address): Update so it can be attached
+ to a PCI bus.
+
+ * hw_disk.c (hw_disk_instance_write): Add more checks to disk IO -
+ looking for things like overflow/underflow.
+
+Sun Nov 3 18:45:20 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * emul_generic.c (emul_add_tree_hardware): Hang the disk off the
+ PAL device instead of the IOBUS. The disk must be attached to a
+ logical bus.
+
+ * hw_disk.c (hw_disk_init_address): Just use the unit address
+ directly in the attach - the rest isn't relevant.
+
+Sat Nov 2 21:48:57 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * configure.in (sim-hardware, sim-packages): Allow additional
+ hardware and packages to be prefixed as well as appended.
+
+ * Makefile.in (tmp-hw, tmp-pk): Retain the user specified order of
+ packages when building them. Consequently, a user can override a
+ standard device by prefixing their own version.
+
+ * Makefile.in (hw_opic.o, hw_pci.o, hw_ide.o): Add dependencies.
+
Fri Nov 1 14:42:57 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* mon.c (_cpu_mon): Add fields for counting 1, 2, 4, and 8 byte
(solaris_descriptors): Make sigaltstack and sigaction nops.
({solaris,linux}_descriptors): Add support for access.
+Tue, 8 Oct 18:42:26 1996 Jason Molenda <crash@cygnus.co.jp>
+
+ * Makefile.in (clean): Move config.log to distclean.
+
+Fri Nov 1 16:44:28 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * corefile-n.h (core_map_write_N): Improve abort messages.
+
+ * device.h, device.c (device_attach_address): Remove unused name
+ parameter.
+ (device_detach_address): Ditto.
+ * device_table.h, device_table.c: Update.
+ * hw_iobus.c (hw_iobus_attach_address_callback): Ditto.
+ * hw_nvram.c (hw_nvram_init_address): Ditto.
+ * hw_memory.c (hw_memory_init_address): Ditto.
+ * hw_vm.c (hw_vm_init_address_callback): Ditto.
+ (hw_vm_attach_address): Ditto.
+ (hw_vm_add_space): Ditto.
+ * hw_init.c (update_for_binary_section): Ditto.
+ * hw_core.c (hw_core_attach_address_callback): Ditto.
+
+ * hw_iobus.c (hw_iobus_attach_address_callback): Rewrite to handle
+ configurable parent busses.
+
+Wed Oct 30 18:46:32 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * device_table.c (generic_device_size_to_attach_size): Provide
+ limited support for multi-cell sizes.
+ (generic_device_address_to_attach_address): Ditto for addresses.
+
+Tue Oct 29 02:01:29 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * device.c (device_add_integer_property): Check for setting of
+ #address-cells and #size-cells properties. For these, update the
+ corresponding device values.
+ (device_nr_address_cells, device_nr_size_cells): Use the value
+ from the device instead of the property.
+
+ * hw_core.c: Use generic address and size conversions for the top
+ bus.
+
+ * hw_memory.c (hw_memory_init_address): Tolerate case where
+ #address and #size cells is greater than 1.
+
+ * device.c (device_tree_print_device): Clean out printing of
+ properties.
+
+ * device.c (split_device_specifier): Don't detect comments here -
+ "#" can be a valid prefix - eg #size-cells.
+
+ * psim.c (psim_merge_device_file): Suppress comments and blank
+ lines here.
+
+ * emul_generic.c (emul_add_tree_hardware): Fix typo of incorrect
+ pal unit address. Add the property /#address-cells to the root of
+ the tree.
+
+ * device.c (device_template_create_device): Check that the unit
+ address was successfully parsed.
+
+ * device_table.c (generic_device_unit_decode): Rewrite to better
+ handle multi-cell addresses.
+ (generic_device_unit_encode): Ditto.
+
+ * emul_generic.c (emul_add_tree_hardware): "reg" properties no
+ longer need the explicit array type - the parser takes care of it.
+
+ * pk_disklabel.c (pk_disklabel_create_instance): Add NULL return
+ to keep GCC happy.
+
+Mon Oct 28 22:55:48 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * hw_ide.c: New file. Model of a basic IDE interface attached to
+ a PCI bus.
+
+ * configure.in (hardware): Add the ide device to the default
+ configuration.
+ * configure: Regenerate.
+
+ * debug.h, debug.c: Add tracing option for the IDE device.
+
+Fri Oct 25 21:28:25 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * hw_phb.c, hw_phb.h: New files - implement a PHB.
+
+ * configure.in (hardware): Add the phb to the list of devices to
+ build by default.
+
+Fri Oct 25 21:28:25 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * hw_com.c: Review description.
+ * hw_disk.c: Ditto.
+ * hw_htab.c: Ditto.
+ * hw_eeprom.c: Ditto.
+ * hw_init.c: Ditto.
+ * hw_cpu.c: Ditto.
+
+ * hw_com.c: Update event handling.
+
+ * hw_disk.c: Implement tracing.
+
+Fri Oct 25 21:28:25 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * device_table.c (generic_device_init_address): Use
+ assigned-addresses property in preference to any other reg
+ property.
+
+Fri Oct 25 21:28:25 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * device.h, device.c (device_find_ranges_property): New function.
+ Simplify the manipulation of "ranges" properties.
+
+ * device.c (device_add_parsed): Extend to include support for the
+ ranges property.
+
+ * device.c (device_add_parsed): Add assigned-addresses to the list
+ of reg type properties.
+
+ * device.c (device_tree_print_device): Add code to format and
+ print a ranges property.
+
+ * device.h, device.c (device_nr_address_cells,
+ device_nr_size_cells): New functions. Determine the values of the
+ standard properties #address-cells and #size-cells. Both of which
+ are optional and have default values of two and one respectfuly.
+ Previously, code that determined #address-cells was incorrectly
+ using a value of one.
+
+Fri Oct 25 21:28:25 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * debug.h, debug.c: Sort debug options, Add entries for the
+ comming PHB device.
+
Fri Oct 18 12:12:21 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* ppc-instructions (Floating Select): Add support for fsel unless
information on program interrupts, particularly in user mode. Add
support for optional_instruction_program_interrupt.
-Thu Oct 3 16:15:20 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
+Wed Sep 25 10:20:29 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
- * Makefile.in (clean): Move config.log to distclean.
+ * hw_glue.c: New device. Hooks for manipulating interrupt ports.
+
+ * debug.h, debug.c (trace_glue_device): Add tracing support for
+ the interrupt glue logic device.
+
+ * configure.in (hardware): Add glue device.
+ * configure: Regenerate.
+
+Tue Sep 24 20:55:38 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * device.c (device_tree_parse_integer_property): New function,
+ parse a list of integers as an array property.
+ (device_tree_add_parsed): Call it.
+
+ * device.c (device_tree_parse_string_property): New function,
+ parse a list of strings as a string property (with embeded
+ null's). For moment, don't try to implement a complext string
+ parser.
+ (device_tree_add_parsed): Call it.
+
+Tue Sep 24 16:30:48 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * hw_opic.c: New file. OpenPIC interrupt controller.
+
+ * configure.in (hardware): Add opic device.
+ * configure: re-generate.
+
+ * hw_pic.c: Delete, replaced with hw_opic.c.
+
+ * debug.h, debug.c: Add debug option for OpenPIC device. -
+ opic-device.
+
+Tue Sep 24 16:30:48 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * Makefile.in (psim.o, idecode.o): Since idecode and not psim is
+ now the file that does all the inlining.
+
+ * Makefile.in (LIB_SRC, LIB_INLINE_SRC, idecode.o): Break out the
+ library source code that could be involved in an inlining. Make
+ idecode.o only dependant on the inlined library source code.
+
+ * Makefile.in (LIB_OBJ): Put options last on the list so that it
+ is compiled last.
+
+ * std-config.h (DEVICE_INLINE): Only inline locals when the
+ default is to inline.
+
+Mon Sep 23 00:37:49 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * hw_htab.c (htab_sum_binary): Determine the real-base for the
+ binary.
+
+ * hw_htab.c (htab_map_binary): Depending on the value of the
+ load-base, either map the program in as a contiguous section or as
+ separate sections controled by th binaries lma values.
+ (htab_init_data_callback): Ditto.
+
+Sun Sep 22 15:56:22 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * emul_generic.c (emul_add_tree_options): Remove load-base option.
+
+ * emul_chirp.c (map_over_chirp_note): Add load_base field to note
+ struct. Don't require the load_base field to be present - just
+ issue warning - it is a recent addition.
+ (emul_chirp_create): Support both virtual and physical modes.
+
+ * emul_chirp.c (emul_chirp_create): Add a stack initialization
+ property so that any arguments specified on the command line can
+ be passed on to user programs.
+
+ * hw_init.c (create_ppc_chirp_bootargs): Add support for chirp
+ argument passing to the pseudo device stack.
+
+Sat Sep 21 19:39:56 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * device.c (device_error): Make it more tolerant to incomplete
+ devices.
+
+ * hw_init.c (hw_data_init_data_callback): Extend the data device
+ so that it can perform initialization operations either dma or a
+ more complex instance open, seek, write operation.
+ * hw_init.c: Update the description of the data device to reflect
+ this.
+
+Sat Sep 21 00:13:02 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * device.c (device_event_queue_schedule,
+ device_event_queue_deschedule, device_event_queue_time): Have the
+ device object export the event operations. Making these available
+ from the device object should hopefully simplify writing device
+ models.
+
+Fri Sep 20 14:04:40 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+
+ * configure.in (sim-hardware): Add eeprom device to default build.
+
+ * hw_eeprom.c: Rewrite so it works.
+
+ * debug.h, debug.c: Add tracing support for the eeprom and com
+ devices.
Thu Sep 19 14:40:40 1996 Andrew Cagney <cagney@kremvax.highland.com.au>