📄 changelog
字号:
* 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -