* Implement --memory-fill and fix --memory-clear options,
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 26 Jan 1999 11:29:17 +0000 (11:29 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 26 Jan 1999 11:29:17 +0000 (11:29 +0000)
commit37bb465135523a05e63430ce6cb323ed5cafa425
tree5c2eb97eea31afc1390a244c4ed3629fd8705c4b
parent1eeb1b63faa2dae8e05a7e1e38618c95bdc6bfab
* Implement --memory-fill and fix --memory-clear options,
  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.
sim/common/ChangeLog
sim/common/sim-memopt.c