1 2000-11-21 Frank Ch. Eigler <fche@redhat.com>
3 * Makefile.in: Regenerated.
5 2000-07-19 Frank Ch. Eigler <fche@redhat.com>
7 * Makefile.in: Regenerated.
9 2000-05-26 Frank Ch. Eigler <fche@redhat.com>
11 * generic.h: Import more std:: identifiers.
13 (imageload_handler, imagestore_handler): Simplify, standardize.
14 (stream_state, destream_state): Cast between host_int_1 and char.
16 2000-02-16 Ben Elliston <bje@redhat.com>
18 * hw-memory-flash-am29.txt: Remove some irrelevant text.
20 2000-02-07 Ben Elliston <bje@redhat.com>
22 * generic.h (generic_memory::save_state): Make non-pure.
23 (generic_memory::restore_state): Likewise.
24 (generic_memory::stream_generic_state): Rename from this ..
25 (generic_memory::stream_state): .. to this.
26 (generic_memory::destream_generic_state): Rename from this ..
27 (generic_memory::destream_state): .. to this.
28 (generic_memory): Make operator <<, >> friends.
29 * generic.cxx (operator <<): Define.
30 (operator >>): Likewise.
31 * ramrom.h (ramrom_memory dtor): Remove.
33 (restore_state): Likewise.
34 * ramrom.cxx (ramrom_memory dtor): Remove.
35 (operator <<): Likewise.
36 (operator >>): Likewise.
37 * flash.h (flash_memory::stream_state): New method.
38 (flash_memory::destream_state): Likewise
39 * flash.cxx (flash_memory::stream_state): Define.
40 (flash_memory::destream_state): Likewise.
41 * am29.h (am29_flash_memory::stream_state): New method.
42 (am29_flash_memory::destream_state): Likewise.
43 (am29_flash_memory::save_state): Remove.
44 (am29_flash_memory::restore_state): Likewise.
45 * am29.cxx (am29_flash_memory::stream_state): Define.
46 (am29_flash_memory::destream_state): Likewise.
47 (operator <<): Remove.
48 (operator >>): Likewise.
49 * at29.h (at29_flash_memory::stream_state): New method.
50 (at29_flash_memory::destream_state): Likewise.
51 (at29_flash_memory::save_state): Remove.
52 (at29_flash_memory::restore_state): Likewise.
53 * at29.cxx (at29_flash_memory::stream_state): Define.
54 (at29_flash_memory::destream_state): Likewise.
55 (operator <<): Remove.
56 (operator >>): Likewise.
58 2000-01-25 Frank Ch. Eigler <fche@redhat.com>
60 * Makefile.in: Regenerated.
62 2000-01-12 Frank Ch. Eigler <fche@cygnus.com>
64 * Makefile.in: Regenerated.
66 2000-01-05 Frank Ch. Eigler <fche@cygnus.com>
68 * generic.cxx (stream_generic_state): Save pin values and forgotten
70 (destream_generic_state): Ditto for restoring.
72 1999-12-14 Frank Ch. Eigler <fche@cygnus.com>
74 * hw-memory-ram_rom-basic.txt: Corrected, reworked to fit template.
75 * hw-memory-flash-am29.txt: Reworked to fit template.
76 * hw-memory-flash-at29.txt: Ditto.
78 1999-12-09 Faisal Khoja <fkhoja@cygnus.com>
80 * Makefile.in: Regenerated.
82 1999-12-08 Faisal Khoja <fkhoja@cygnus.com>
84 * Makefile.in: Regenerated.
86 1999-12-07 Frank Ch. Eigler <fche@cygnus.com>
88 * hw-memory-ram_rom-basic.txt: New file. Content from old README.
89 * hw-memory-flash-am29.txt: Ditto.
90 * hw-memory-flash-at29.txt: Ditto.
92 * Makefile.am: Install new files.
93 * Makefile.in: Regenerated.
95 1999-11-26 Ben Elliston <bje@cygnus.com>
97 * Makefile.am (DEJAGNUTESTS): Add memdocs.exp.
98 * Makefile.in: Regenerate.
100 * README (hw-memory-ram/rom-basic): Document.
102 1999-11-23 Frank Ch. Eigler <fche@cygnus.com>
104 * components.cxx (compMemoryDelete): Use dynamic_cast<>.
105 * generic.cxx (imageload_handler): Take unused arg. Update callers.
106 (imagestore_handler): Ditto.
107 * generic.h: Matching changes.
109 1999-11-12 Frank Ch. Eigler <fche@cygnus.com>
111 * generic.cxx (imageload_handler): Don't complain, just fill memory
112 with zeroes, if input file is too short.
114 1999-11-12 Mary Lynn Kostash <mkostash@cygnus.com>
116 * README: Fixed typos, added missing Environment heading.
118 1999-11-08 Ben Elliston <bje@cygnus.com>
120 * at29.cxx (at29_flash_memory ctor): manufacturer-code and
121 device-code attributes are settings.
123 * am29.cxx (am29_flash_memory ctor): mode is a read-only
126 1999-11-01 Permaine Cheung <pcheung@cygnus.com>
128 * README: Fix component name in configuration in Environment
131 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
133 * generic.cxx (attempt_resize): Standardize error messages.
134 (imagestore_handler, imageload_handler): Ditto.
136 1999-10-20 Permaine Cheung <pcheung@cygnus.com>
138 * Makefile.am: Added new test files.
139 * Makefile.in: Regenerated.
141 1999-10-19 Frank Ch. Eigler <fche@cygnus.com>
143 * Makefile.in: Regenerated.
145 1999-10-18 Ben Elliston <bje@cygnus.com>
148 (flash_uniform_sector_memory::get_sector_size_attr): New method.
149 (flash_uniform_sector_memory::set_sector_size_attr): Likewise.
151 (flash_uniform_sector_memory::get_sector_size_attr): Implement.
152 (flash_uniform_sector_memory::set_sector_size_attr): Likewise.
153 (flash_uniform_sector_memory ctor): Virtualise "sector-size"
154 attribute; use get/set methods mentioned above.
156 1999-10-14 Mary Lynn Kostash <mkostash@cygnus.com>
158 * README: Doc fixes based on review comments.
160 1999-10-13 Frank Ch. Eigler <fche@cygnus.com>
162 * generic.cxx (imageload_handler): Handle short reads more
164 (imagestore_handler): Ditto for writes.
166 1999-10-12 Ben Elliston <bje@cygnus.com>
168 * am29.cxx (am29_flash_memory::am29_bus::write): Bug fix for an
169 out-by-one error--test bits 0 to 7, not 0 to 6. Also fix a case
170 fall-through by returning.
172 * README: Document the hw-memory-flash-am29 component.
174 1999-10-08 Frank Ch. Eigler <fche@cygnus.com>
176 * am29.cxx (write_ok, read, write): Take value, not const-ref.
177 * am29.h (NOPERM_READ, NOPERM_WRITE): Same.
178 (*): Corresponding changes.
179 * at29.cxx (write_ok, read, write): Take value, not const-ref.
180 * at29.h (NOPERM_READ, NOPERM_WRITE): Same.
181 (*): Corresponding changes.
182 * flash.h (write_ok): Take value, not const-ref.
183 * generic.h (SID_GB_READ, SID_GB_WRITE): Take value, not const-ref.
184 (read_any, write_any): Same.
186 1999-10-07 Faisal Khoja <fkhoja@cygnus.com>
188 * at29.h (write): Removed try & catch
191 * generic.h (write): Removed try & catch
193 * generic.cxx: Likewise
195 1999-10-08 Ben Elliston <bje@cygnus.com>
197 * am29.cxx (am29_flash_memory ctor): manufacturer-code and
198 device-code attributes are settings.
200 * components.cxx (compMemoryListTypes): Add hw-memory-flash-am29
201 and family members. Remove surplus debug output.
202 (compMemoryCreate): Recognise hw-memory-flash-am29 family.
204 * am29.cxx: Likewise.
205 * Makefile.am (libmemory_la_SOURCES): Add am29.cxx.
206 (DEJAGNUTESTS): Add am29.exp, memmonkey.exp.
207 (checkme): Depend on all.
208 * Makefile.in: Regenerate.
210 1999-09-27 Frank Ch. Eigler <fche@cygnus.com>
212 * components.cxx: New file. Collect component_library functions.
213 * ramrom.cxx: New file: implement hw-memory-ram/rom-basic.
214 * ramrom.h: New file.
215 * at29.cxx (write_ok): Use new "noSectorNum" constant instead of -1.
216 (at29_flash_memory ctor): Initialize more robustly.
217 (at29_bus): Renamed class from at29_flash_memory::at29_bus.
218 (operator <<,>>): Add partial state save/restore code.
219 (*): Remove unnecessary try/catch blocks.
220 * at29.h (at29_flash_memory_type): Adopt sidtypes throughout.
221 (at29_bus): Move out of at29_flash_memory type.
222 * flash.h (flash_memory): Inherit from generic_memory. Simplified.
223 * flash.cxx: Removed code that duplicates generic_memory.
224 * generic.h: New file. Collect common code here.
225 (read_any, write_any): Simplify. Restore memory bound checking.
226 * generic.cxx (attempt_resize): New function. Replace (resize).
227 Limit allocation to "size-max", a new attribute.
228 (imageload_handler, imagesave_handler): New functions.
229 (stream_generic_state, destream_generic_state): New functions.
230 Replace old (operator<<,>>). Tolerate malloc errors.
231 (get_size_attr, set_size_attr): Tolerate malloc errors.
233 * README: Mention new pins/attributes.
234 * Makefile.am: Mention new files.
235 * Makefile.in: Regenerated.
237 1999-09-23 Frank Ch. Eigler <fche@cygnus.com>
239 * README: Update for bool/number notation changes.
241 1999-09-13 Frank Ch. Eigler <fche@cygnus.com>
243 * flash.cxx (*): Use host_int_X, not compiler_int_X.
244 * flash.h, generic.cxx: Same here.
246 1999-09-09 Frank Ch. Eigler <fche@cygnus.com>
248 * generic.cxx (operator <<): Fix buffer overrun in RLE-encoding.
249 (*): Reformat slightly.
251 1999-08-31 Mary Lynn Kostash <mkostash@cygnus.com>
255 1999-08-24 Frank Ch. Eigler <fche@cygnus.com>
257 * flash.h: Import sidutil::std_error_string.
258 * generic.cxx (load_image): Use it.
259 * Makefile.in: Regenerated.
261 1999-08-20 Frank Ch. Eigler <fche@cygnus.com>
263 * generic.cxx (operator >>): Use ANSI setstate() instead of setf().
265 1999-08-16 Ian Carmichael <iancarm@cygnus.com>
267 * generic.cxx: readByte and writeByte members renamed.
269 1999-08-11 Ian Carmichael <iancarm@cygnus.com>
271 * at29.cxx, generic.cxx: (*) Change big_int_N and
272 little_int_N so that the default operations all use
273 their integer values.
275 1999-08-09 Frank Ch. Eigler <fche@cygnus.com>
277 * generic.xx (operator >>): Correct RLE-mode snapshot key.
279 1999-08-03 Faisal Khoja <fkhoja@cygnus.com>
281 * at29.h: Introduced proper namespace usage.
283 * flash.cxx: Likewise.
284 * generic.cxx: Likewise.
286 1999-07-27 Ben Elliston <bje@cygnus.com>
288 * generic.cxx (generic_memory ctor): Make `size' a setting
290 * flash.cxx (flash_memory ctor): Likewise.
291 (flash_uniform_sector_memory ctor): Make `sector-size' a setting
294 1999-07-26 Faisal Khoja <fkhoja@cygnus.com>
296 * generic.cxx: Add exception handling.
298 1999-07-25 Faisal Khoja <fkhoja@cygnus.com>
300 * flash.h: Add exception handlers.
302 * at29.cxx: Likewise.
304 1999-07-24 Ben Elliston <bje@cygnus.com>
306 * flash.h (flash_uniform_sector_memory dtor): Remove declaration.
308 1999-07-23 Faisal Khoja <fkhoja@cygnus.com>
310 * flash.h (~flash_uniform_sector_memory): Added { } to compile on NT.
312 1999-07-22 Ben Elliston <bje@cygnus.com>
314 * flash.cxx (flash_memory ctor): Remove `sector-size' attribute.
315 (flash_uniform_sector_memory ctor): Add it here, instead.
316 * flash.h (NOPERM_WRITE): Move here from at29.h.
317 (NOPERM_READ): Likewise.
318 (class flash_uniform_sector_memory): New class.
319 (flash_memory::sector_size): Move to flash_uniform_sector_memory.
320 * at29.h (at29_flash_memory): Inherit flash_uniform_sector_memory.
321 (NOPERM_WRITE): Move to flash.h.
322 (NOPERM_READ): Likewise.
324 1999-07-07 Frank Ch. Eigler <fche@cygnus.com>
326 * at29.cxx (at29_flash_memory ctor): Call resize() after setting
327 memory size. Accept ctor arguments to customize model.
328 (at29_flash_memory::types): New static const table.
329 * at29.h (at29_flash_memory): Corresponding declaration changes.
330 (at29_flash_memory_type): New struct.
331 * flash.h (resize): Make protected instead of private.
332 * generic.cxx (compMemoryListTypes): Add at29_flash_memory::types.
333 (compMemoryCreate): Use at29_flash_memory::types.
335 * README: Updated to list AT29 family members, add attribute
338 1999-07-05 Frank Ch. Eigler <fche@cygnus.com>
340 * Makefile.am (DEJAGNUTESTS): New macro.
341 (checkme): New target to run dejagnu on $DEJAGNUTESTS only.
342 * Makefile.in: Regenerated.
344 1999-07-05 Frank Ch. Eigler <fche@cygnus.com>
346 * generic.cxx (operator >>): Don't new[] buffer redundantly.
348 1999-07-05 Frank Ch. Eigler <fche@cygnus.com>
350 * testsuite: Removed directory.
351 * Makefile.am (SUBDIRS): Don't recurse into it.
352 * Makefile.in: Regenerated.
355 * configure.in: Ditto.
357 1999-06-29 Ben Elliston <bje@cygnus.com>
359 * README: Rewrite using standard documentation template.
361 1999-06-23 Ben Elliston <bje@cygnus.com>
363 * at29.cxx (at29_flash_memory::at29_bus::read): Re-work and
364 simplify method body.
365 (at29_flash_memory::at29_bus::read): Use the little endian version
366 of this method to do the real work.
367 (at29_flash_memory::at29_bus::write): Likewise.
368 * at29.h (NOPERM_READ): New macro.
369 (NOPERM_WRITE): Likewise.
370 Use these macros to declare unpermitted bus read/write methods.
372 1999-06-22 Frank Ch. Eigler <fche@cygnus.com>
374 * at29.cxx (at29_flash_memory): Use add_attribute_ro_value for
375 manufacturer-code attribute.
377 1999-06-22 Ben Elliston <bje@cygnus.com>
379 * Makefile.am (libmemory_la_SOURCES): Add flash.cxx, at29.cxx.
380 * Makefile.in: Regenerate.
381 * generic.cxx (compMemoryListTypes): Add hw-memory-flash-at29.
382 (compMemoryCreate): Handle this new component type.
384 * at29.cxx: Likewise.
386 * flash.cxx: Likewise.
388 1999-06-15 Frank Ch. Eigler <fche@cygnus.com>
390 * generic.cxx (generic_read_write_bus): Update bus API calls
392 (generic_read_only_bus): Ditto.
393 (generic_memory dtor): Simplify.
394 (write_any): Assert that access address is in range.
397 1999-06-15 Ben Elliston <bje@cygnus.com>
399 * generic.cxx (generic_read_only_bus): Put public members first.
400 (generic_read_write_bus): Likewise.
401 (generic_memory): Do not inline constructor/destructor. Put public
403 (generic_memory::image_file): Rename from this ..
404 (generic_memory::image_filename): .. to this. Update all callers.
405 (generic_memory::generic_memory): Move method body to here.
406 (generic_memory::~generic_memory): Likewise.
408 * compMemory.cxx: Rename from this ..
409 * generic.cxx: .. to this.
410 * Makefile.am (libmemory_la_SOURCES): Update.
411 * Makefile.in: Regenerate.
413 1999-06-09 Frank Ch. Eigler <fche@cygnus.com>
415 * compMemory.cxx (compMemoryDelete): New function.
416 (mem_component_library): Register it.
418 1999-06-08 Frank Ch. Eigler <fche@cygnus.com>
420 * compMemory.cxx (compMemoryListTypes, compMemoryCreate):
421 Renamed type "memory" -> "hw-memory-ram/rom-basic".
422 * README: Update with new component type names.
424 1999-06-01 Frank Ch. Eigler <fche@cygnus.com>
426 * compMemory.cxx (operator>>,<<): Implement simple-minded RLE
427 encoding for memory state-snapshot.
429 1999-05-26 Frank Ch. Eigler <fche@cygnus.com>
431 * compMemory.cxx (load_image): New function.
432 (ctor): Add "load-image!" attribute, which calls above function.
433 * README (load-image!): Document new attribute.
434 (wait-states): Forget about this amputated function.
435 * configure.in: Look for strerror().
436 * configure: Regenerated.
438 1999-05-18 Frank Ch. Eigler <fche@cygnus.com>
440 * compMemory.cxx (restore_state): Return sid::component::status.
442 1999-05-13 Frank Ch. Eigler <fche@cygnus.com>
444 * aclocal.m4: Regenerated.
446 1999-05-04 Frank Ch. Eigler <fche@cygnus.com>
448 * compMemory.cxx (mem_component_library): DLLEXPORT it.
449 * configure.in: Be win32-dll-capable.
450 * configure: Regenerated.
452 * aclocal.m4: Regenerated for new libtool.
453 * Makefile.in: Ditto.
455 1999-05-01 Ron Unrau <runrau@cygnus.com>
457 * compMemory.cxx: streamline for speed
459 1999-04-21 Frank Ch. Eigler <fche@cygnus.com>
461 * Makefile.am (LDFLAGS): Add -no-undefined
462 * Makefile.in: Regenerated.
464 1999-04-14 Frank Ch. Eigler <fche@cygnus.com>
467 * compMemory.cxx (operator <<, >>): Use unencoded binary string
470 1999-04-12 Frank Ch. Eigler <fche@cygnus.com>
472 * compMemory.cxx (generic_memory_bus): Use compiler_int_X
473 for more members. Add "state-snapshot" virtual attribute.
474 (save_state, restore_state): New functions. Call:
475 (operator <<, operator >>): New functions. Very rudimentary state
477 (memory_tester): Removed class and its traces.
478 * memtest.conf.in: Removed.
480 * configure.in (AC_CONFIG_SUBDIRS): Configure testsuite/.
481 * Makefile.am (SUBDIRS): Descend there.
482 * configure: Regenerated.
483 * Makefile.in: Regenerated.
485 1999-04-06 Frank Ch. Eigler <fche@cygnus.com>
487 * compMemory.cxx (*): Adapt to renamed fixed_attribute_map functions.
489 1999-04-03 Ron Unrau <runrau@cygnus.com>
491 * compMemory.cxx: swap addr<->data in bus::read and bus::write
493 1999-03-24 Frank Ch. Eigler <fche@cygnus.com>
495 * configure.in: Use new AC_CONFIG_AUX_DIR.
496 * configure: Regenerated.
497 * Makefile.am: Build libtool -modules.
498 * Makefile.in: Regenerated.
500 1999-03-17 Frank Ch. Eigler <fche@cygnus.com>
502 * compMemory.cxx (write_any,read_any): Revert changes.
504 1999-03-15 Ron Unrau <runrau@cygnus.com>
506 * compMemory.cxx(write_any,read_any): make host-endian independent
508 1999-03-10 Ron Unrau <runrau@cygnus.com>
510 * compMemory.cxx: incorporate revised pin API
512 1999-03-05 Frank Ch. Eigler <fche@cygnus.com>
514 * compMemory.cxx (class generic_memory): Remove unneeded virtual
515 inheritance. Add relationship API stub.
516 (class memory_tester): Ditto.
518 1999-02-26 Frank Ch. Eigler <fche@cygnus.com>
520 * compMemory.cxx: Clean up some warnings.
522 1999-02-12 Frank Ch. Eigler <fche@cygnus.com>
524 * compMemory.cxx (generic_memory): Add "wait-states" attribute for
525 returning "sid::bus::notready" indication on every N-1 out of N
526 accesses. Use attribute-change callback for memory resizing.
527 (generic_memory_bus): Use it.
529 * Makefile.am: Switch to foreign mode. Adjust for automake 1.4.
530 * configure.in: Adjust for autoconf 2.13.
531 * Makefile.in: Rebuilt.
532 * aclocal.m4: Rebuilt.
533 * configure: Rebuilt.
535 1999-01-08 Frank Ch. Eigler <fche@cygnus.com>
537 * compMemory.cxx (generic_memory): Use fixed_bus_map_component
539 (memory_tester): Use fixed_accessor_map_component mixin.
541 1998-12-23 Frank Ch. Eigler <fche@cygnus.com>
543 * Makefile.am (INCLUDES): Added . and ../include.
544 * configure.in: Removed compulsory checks.
545 * Makefile.in: Rebuilt.
546 * configure: Rebuilt.
548 1998-12-18 Frank Ch. Eigler <fche@cygnus.com>
550 * configure.in: Look for strstream.h.
551 * configure: Rebuilt.
552 * compMemory.cxx: Added tracing calls (commented out).
554 1998-12-17 Frank Ch. Eigler <fche@cygnus.com>
556 * compMemory.cxx (compMemory): Use new stub functions from
557 sidcomputil.h to mix in unused sub-APIs.
558 (memory_tester): New component that performs basic memory
559 component testing that was previously done in compDummy.
560 (compMemoryListTypes): Register new component type.
561 (compMemoryCreate): Register new component type.
562 * memtest.conf.in: New sid config file to drive memory tests.
564 * aclocal.m4: New file to enable local configuration.
565 * configure.in: Make script self-contained.
566 * Makefile.in: Rebuilt.
567 * configure: Rebuilt.