aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-memopt.c
AgeCommit message (Collapse)AuthorFilesLines
2002-06-17* sim-memopt.c: Include <unistd.h>.Andrew Cagney1-1/+4
(do_memopt_add): Fix printf format. * sim-events.c (sim_events_schedule): Initialize ``dummy''.
2001-03-20* mmap support for common simulatorsFrank Ch. Eigler1-10/+117
2001-03-16 Frank Ch. Eigler <fche@redhat.com> Add support for mmap-based memory regions. * sim-memopt.c (mmap_next_fd): New global. (sim_memory_init): Reinitialize it. (OPTION_MEMORY_MAPFILE, memory_option_handler): Support new "--memory-mapfile FILE" option. Check for some errors. (do_memopt_add): Conditionally do mmap instead of malloc for backing store of simulated memory. Check for more errors. (do_simopt_delete, sim_memory_uninstall): Corresponding cleanup. * sim-memopt.h (munmap_length): New member of _sim_memopt. * configure.in: Look for mmap/fstat related functions and headers. * config.in, configure: Regenerated.
1999-04-26import gdb-19990422 snapshotStan Shebs1-3/+4
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+471
1999-04-16Initial creation of sourceware repositoryStan Shebs1-459/+0
1999-01-26* Update copyright year.Frank Ch. Eigler1-1/+1
1999-01-26* Implement --memory-fill and fix --memory-clear options,Frank Ch. Eigler1-26/+98
for internal PR 18869 and 18870. 1999-01-26 Frank Ch. Eigler <fche@cygnus.com> * sim-memopt.c (memory_options): Add MEMORY_FILL option. (memory_option_handler): Implement MEMORY_FILL option. Make MEMORY_CLEAR an alias for MEMORY_FILL=0. (parse_ulong_value): New function. (do_memopt_add): Allocate all buffers. Optionally fill them.
1998-03-03Fix typos.Doug Evans1-2/+2
1998-02-27 * sim-base.h (sim_cpu_base): New members name, options.Doug Evans1-11/+8
(sim_cpu_lookup): Add prototype. * sim-module.c (sim_pre_argv_init): Provide default names for cpus. * sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'. (sim_add_option_table): Update prototype. * sim-options.c (sim_add_option_table): New argument `cpu'. (standard_option_handler,standard_install): Update. (sim_parse_args): Handle cpu specific options. (print_help): New static function. (sim_print_help): Call it. Print cpu specific options. (find_match): New static function. (sim_args_command): Call it. Handle cpu specific options. * sim-utils.c (sim_cpu_lookup): New function. * sim-memopt.c (memory_option_handler): Update. (sim_memopt_install): Update. * sim-model.c (model_option_handler): Update. (model_install): Update. * sim-profile.c (profile_option_handler): Update. (profile_install): Update. * sim-trace.c (trace_option_handler): Update. (trace_install): Update. * sim-watch.c (watchpoint_option_handler): Update. (sim_watchpoint_install): Update. * cgen-scache.c (scache_option_handler): Update. (scache_install): Update.
1997-10-31Make memory regions layered (just like existing device regions) soAndrew Cagney1-49/+116
that overlapping regions can be defined. Allow the layer (level) of a memory region to be specified as part of an address parameter to memory options. Update simulators.
1997-09-04Finish implementation of sim-memopt.Andrew Cagney1-48/+110
Use in d30v and tic80. Make available a generic sim_read, sim_write implementation.
1997-09-04o Add modulo argument to sim_core_attachAndrew Cagney1-0/+261
o Add sim-memopt module - memory option processing.