📄 changelog
字号:
2001-03-14 Mark Salter <msalter@redhat.com> * src/hal_stub.c (handle_exception_cleanup): Advance PC of original context past breakpoint insn.2001-02-02 Mark Salter <msalter@redhat.com> * src/generic-stub.c: __set_breakpoint and __remove_breakpoint now take a length argument. * src/bplist-dynamic.c: Support breakpoint length. Use HAL_BREAKINST_ADDR macro (if defined) to get actual breakpoint based on breakpoint length. * include/hal_stub.h: Add len argument to __set_breakpoint and __remove_breakpoint.2000-11-27 Mark Salter <msalter@redhat.com> * src/generic-stub.c (__process_packet): Change 'k' packet to cause return to original context. Change 'r' packet to respond with empty packet before resetting board. * src/hal_stub.c (handle_exception_exit): New function. Restores original context saved when stub was entered for the first time. (handle_exception_cleanup): Save original context. (__install_traps): Set __process_exit_vec to handle_exception_exit. (__build_t_packet): Don't send threadid if its zero.2000-11-22 Mark Salter <msalter@redhat.com> * src/hal_misc.c (hal_default_isr): Version check only when CYGSEM_HAL_ROM_MONITOR not defined.2000-11-20 Mark Salter <msalter@redhat.com> * src/hal_stub.c (hal_flush_output): New function to flush debug comm interface. * src/generic-stub.c (__process_packet): Use hal_flush_output when killing or continuing. * include/hal_stub.h: Add declaration for hal_flush_output(). * include/hal_if.h (__COMMCTL_FLUSH_OUTPUT): New comm control cmd.2000-11-17 Jesper Skov <jskov@redhat.com> * src/hal_if.c (delay_us): Add dummy loop. Duh! Take usecs argment into account.2000-11-06 Mark Salter <msalter@redhat.com> * src/generic-stub.c (__handle_exception): Add support for GNUPro bsp syscall handling. * src/board.h: Include pkgconf/redboot.h for CYGSEM_REDBOOT_BSP_SYSCALLS.2000-11-06 Jesper Skov <jskov@redhat.com> * src/hal_if.c (hal_if_diag_write_char): Clear interrupt flag before setting breakpoint.2000-11-04 Mark Salter <msalter@redhat.com> * src/hal_stub.c (__build_t_packet): Report reason and data address if stopped by hw watchpoint. * src/generic-stub.c (__process_packet): Remove experimental support for type 5 Z packet. * include/hal_stub.h: Define HAL_STUB_STOP_* reasons returned by HAL_IS_STOPPED_BY_HARDWARE.2000-10-27 Mark Salter <msalter@redhat.com> * src/generic-stub.c: Fixed preprocessor warning.2000-10-27 Gary Thomas <gthomas@redhat.com> * src/generic-stub.c (__process_packet): Remove warnings when hardware breakpoint support (Z packet) not enabled.2000-10-26 Mark Salter <msalter@redhat.com> * src/generic-stub.c (__process_packet): Add Z packet support. * src/bplist-dynamic.c: Include <pkgconf/hal.h> to pick up CYGNUM_HAL_BREAKPOINT_LIST_SIZE.2000-10-24 Jesper Skov <jskov@redhat.com> * src/generic-stub.c (__process_packet): Disable buffer size z-packet.2000-10-23 Jesper Skov <jskov@redhat.com> * src/hal_stub.c: Made __mem_fault_handler pointer volatile.2000-10-20 Jonathan Larmour <jlarmour@redhat.com> * include/drv_api.h (cyg_interrupt): Make dsr_count volatile to prevent compilers optimizing accesses in the wrong place.2000-10-20 Jesper Skov <jskov@redhat.com> * include/drv_api.h: Correct location of volatile keyword. * src/drv_api.c: Same.2000-10-19 Gary Thomas <gthomas@redhat.com> * src/generic-stub.c (__process_packet): Add RedBoot identifier in maintenance 'd' packet reply.2000-10-18 Jesper Skov <jskov@redhat.com> * include/hal_if.h (CYGPRI_HAL_IMPLEMENTS_IF_SERVICES): Set for all non-RAM startup types.2000-10-13 Jonathan Larmour <jlarmour@redhat.com> * src/stubrom/stubrom.c (cyg_start): Remove unnecessary call to initialize_stub()2000-09-11 Jonathan Larmour <jlarmour@redhat.com> * include/hal_tables.h (CYG_HAL_TABLE_EXTRA): Use new definition of CYGBLD_ATTRIB_SECTION, and fix the string name up better. (CYG_HAL_TABLE_ENTRY): Ditto (CYG_HAL_TABLE_QUALIFIED_ENTRY): Ditto2000-09-07 Jonathan Larmour <jlarmour@redhat.com> * include/hal_tables.h: Fix non-standard use of paste operator to remove warnings with recent gcc2000-09-04 Jonathan Larmour <jlarmour@redhat.com> * include/hal_tables.h (CYG_HAL_TABLE_END): Use CYGARC_P2ALIGNMENT to align label (CYG_HAL_TABLE_TYPE): Define2000-09-01 Jonathan Larmour <jlarmour@redhat.com> * src/hal_stub.c (__build_t_packet): Ensure sign extension applies in the higher word, not the lower. (__build_t_packet): Don't need to conditionalize on CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T as there should be no problems with the current code. * src/generic-stub.c (stub_format_registers): Likewise * include/hal_if.h (CYGACC_COMM_IF_CONTROL): Remove warning due to unnecessary use of cpp paste operator2000-08-28 Gary Thomas <gthomas@redhat.com> * src/hal_if.c: * include/hal_if.h (hal_ctrlc_check): Define new routine to be called by interrupt handlers (DSRs) which may be using hardware shared with a debug channel. In particular, network adaptors need to call this function to see if a ^C has occurred on the network debug connection.2000-08-24 Gary Thomas <gthomas@redhat.com> * include/hal_tables.h: Need descriminated tables (for proper sorting).2000-08-14 Drew Moseley <dmoseley@redhat.com> * src/hal_if.c: Added an extern declaration for cyg_hal_plf_comms_init. * src/bplist-dynamic.c: Only use breakpoint lists when building stubs.2000-08-10 Drew Moseley <dmoseley@redhat.com> * include/generic-stub.h: Added support for register validity checking. * src/generic-stub.c: Ditto. * src/hal_stub.c: Ditto. * include/drv_api.h: Added cyg_code_t.2000-08-03 Gary Thomas <gthomas@redhat.com> * include/hal_if.h (CYGNUM_CALL_IF_DBG_DATA): Move to avoid conflict.2000-07-26 Gary Thomas <gthomas@redhat.com> * src/hal_stub.c (cyg_hal_gdb_diag_putc): Ignore any characters other than the protocol chars of ACK/NAK/^C. * src/hal_if.c (hal_if_diag_init): Only reset console channel if user has configured a non-default choice.2000-07-24 Drew Moseley <dmoseley@redhat.com> * src/bplist-dynamic.c (__install_breakpoint_list): Call HAL_ICACHE_SYNC() rather than HAL_ICACHE_INVALIDATE_ALL().2000-07-21 Drew Moseley <dmoseley@cygnus.com> * src/hal_stub.c: Cleanup of #define's. * src/generic-stub.c: Rearrange the linkage between Cygmon and HAL so that Cygmon needs HAL but not vice-versa. ie HAL no longer calls any Cygmon functions. * src/hal_misc.c: Ditto. * src/bplist-dynamic.c: Use HAL macros rather than Cygmon functions for flushing the cache. Also handle the case where target_register_t is not defined.2000-07-21 Gary Thomas <gthomas@redhat.com> * src/hal_if.c (CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS): Define to allow the number of channels to be extended by "AUX" packages.2000-07-20 Drew Moseley <dmoseley@redhat.com> * src/generic-stub.c (stub_format_registers): Make the previous patch effective only if CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T is defined so as to not affect any other targets. * src/hal_stub.c: Ditto.2000-07-19 Drew Moseley <dmoseley@redhat.com> * src/generic-stub.c (stub_format_registers): Handle the case where GDB is expecting registers larger than we are storing. ie MIPS gdb expects 64 bit registers even if we are on a 32 bit architecture. Also, handle the sign-extension correctly if necessary. * src/hal_stub.c (__build_t_packet): Ditto.2000-07-18 Jesper Skov <jskov@redhat.com> * src/hal_misc.c (hal_default_isr): Version gets hacked by hal_if_init - check for the hacked value.2000-07-18 Jesper Skov <jskov@redhat.com> * src/hal_stub.c (__mem_fault_handler): Made volatile. 2000-07-14 Drew Moseley <dmoseley@redhat.com> * src/generic-stub.c: Cleanups for better coexistence with Cygmon. * include/generic-stub.h: Ditto. * include/hal_if.h: Ditto. * include/hal_stub.h: Ditto. * src/hal_stub.c: Ditto. * cdl/hal.cdl: Compile bplist-dynamic.c. * src/bplist-dynamic.c: New file for supporting breakpoints in the HAL.2000-07-14 Gary Thomas <gthomas@redhat.com> * src/hal_if.c (delay_us): Use HAL_DELAY_US() if defined.2000-07-07 Jesper Skov <jskov@redhat.com> * src/hal_stub.c (initHardware): Fix #endif location. * src/hal_if.c (hal_ctrlc_isr_init): Added hack to work around a silly but critical problem. * src/hal_stub.c: Removed some CygMon conditional exclusions. * src/hal_if.c (hal_ctrlc_isr_init): Don't enable interrupts when configured as ROM monitor.2000-07-05 Jesper Skov <jskov@redhat.com> * cdl/debugging.cdl: Only allow CTRLC support if there's stubs or a ROM monitor to handle it. (Haruki Kashiwaya (kashiwaya at redhat dot com)).2000-06-30 Jesper Skov <jskov@redhat.com> * include/hal_if.h: Make CYGACC macros call functions. May have to add some _GET macros at some time if anyone needs to access the function pointers. * src/hal_stub.c: * src/hal_misc.c: * src/hal_if.c: Matching changes of CYGACC clients. 2000-06-29 Jesper Skov <jskov@redhat.com> * src/hal_stub.c (cyg_hal_gdb_diag_putc): Check console interrupt flag and breakpoint if set.2000-06-28 Jesper Skov <jskov@redhat.com> * src/hal_stub.c (cyg_hal_gdb_diag_putc): Don't try to set breakpoints in ROM startup - just disable interrupts. Also, use procs table function to disable device interrupts. * include/hal_if.h: Mark vector/comms arrays volatile to avoid compiler confusion. * include/dbg-threads-api.h: Fix C/C++ declaration issues. * src/hal_stub.c: Moved stub platform init call below vector table setup. * src/hal_misc.c: * src/hal_if.c: * include/hal_if.h: DBG_ISR_VECTOR and SET_TIMEOUT functions added to comms table. Added DELAY_US function to vector table. Made switching of debug channel dis/enable Ctrl-c interrupts as well. Made ctrlc_isr code use new vector entries. All this amounts to a properly switchable debug channel.2000-06-21 Jesper Skov <jskov@redhat.com> * src/hal_stub.c: Fixed clients of vector procs tables to pass in the correct arguments. Hook O-packetizer up on procs slot reserved for IO mangler. Install mangler when necessary. * src/hal_if.c: Extended set procs functions to allow temporarily switching console procs in a safe manner. Removed debug and console wrappers - all IO happens via drivers hooked up in tables rather than through hardwired macros. Proper initialization of console proc entry. Fixed clients of vector procs tables to pass in the correct arguments. Stub now does its own vector table initialization. Added special procs slot for IO manglers. * include/hal_if.h: Define special IDs used by the set procs functions. PROCS_HANDLED removed since the procs table will now always service any port.2000-06-21 Nick Garnett <nickg@cygnus.co.uk> * include/hal_stub.h: Added underscore to breakinst(). * include/hal_tables.h: Added this file to contain macros for defining datatables in a systematic and extensible way.2000-06-19 Gary Thomas <gthomas@redhat.com> * cdl/hal.cdl: Revert change below - GUARANTEED can exist with STUBS defined.2000-06-18 Gary Thomas <gthomas@redhat.com> * cdl/hal.cdl: Use of virtual vector functions for diagnostic output must be disabled when building with stubs. Note: this lets stubs be built for platforms with guaranteed virtual vector support.2000-06-16 Jesper Skov <jskov@redhat.com> * include/hal_if.h: All vector-dependant features hidden when config option not enabled. * src/hal_if.c (hal_if_init): Fix warning.2000-06-15 Jesper Skov <jskov@redhat.com> * include/hal_if.h: Added console-include decision logic.2000-06-15 Nick Garnett <nickg@cygnus.co.uk> * src/drv_api.c: * include/drv_api.h: Added boolean result to cyg_drv_cond_wait() to match change to the kernel and KAPI functionality.2000-06-14 Jesper Skov <jskov@redhat.com> * src/hal_stub.c: Added O-packetizer used by GDB stubs for virtual vector table configs. * src/hal_misc.c (hal_default_isr): Check Ctrlc for both CTRLC or BREAK options. * src/hal_if.c: * include/hal_if.h: Define console wrappers when necessary. Platform HALs can use these by providing raw IO functions and some config data.2000-06-09 Jesper Skov <jskov@redhat.com> * src/hal_if.c: Implemented most of the remaining services. Some just don't have an eCos equivalent at the moment. * cdl/hal.cdl: Allow virtual_vector options to have sensible default values depending on when the platform HAL port was written. * src/hal_misc.c (cyg_hal_user_break): Also expect CygMon to provide the breakpoint service. * src/stubrom/stubrom.c (cyg_start): Reverted change. Now handled by hal_if_init. * cdl/hal.cdl: Added option for controlling use of diag services in the virtual vector table.2000-06-08 Jesper Skov <jskov@redhat.com> * src/stubrom/stubrom.c: Call hal_diag_init to ensure IF table entries related to diag IO get initialized. * src/hal_stub.c (cyg_hal_gdb_interrupt): save/restore GP so it can be used by MIPS platforms. Use reset function in ROM if available. * src/hal_misc.c: * include/hal_misc.h: Functions shared between HALs. More functions are likely to be moved here if appropriate. * src/hal_if.c: Interfacing related functions: table init code and function wrappers. * include/hal_if.h: ROM/RAM calling interface table definitions. The layout is a combination of libbsp and vectors already in use by some eCos platforms. * cdl/hal.cdl: Added CYGxxx_HAL_VIRTUAL_VECTOR_SUPPORT options. These are used to control whether a platform uses the new ROM/RAM calling interface. All platforms will be converted to use this, but piecemeal over a period of time, thus the requirement for selecting behavior.2000-06-04 Gary Thomas <gthomas@redhat.com> * cdl/hal.cdl: Support variant 'pkgconf' headers. This will allow [variant] common symbols to be defined, rather than duplicating them over all platforms using that variant.2000-05-25 Jesper Skov <jskov@redhat.com> * cdl/debugging.cdl: Allow thread support to included for ROM monitor builds.2000-05-22 Jesper Skov <jskov@redhat.com> * cdl/debugging.cdl: Allow platform to prevent CTRLC inclusion.2000-04-12 Jesper Skov <jskov@redhat.com> * cdl/debugging.cdl: Don't let interfaces define anything.2000-04-07 Jesper Skov <jskov@redhat.com> * cdl/hal.cdl: Fix dependencies for stub.2000-03-28 Jesper Skov <jskov@redhat.com> * src/generic-stub.c (__process_packet): Added 'z' packet reply.2000-03-28 John Dallaway <jld@cygnus.co.uk> * cdl/hal.cdl: Adjust documentation URLs.2000-03-24 Jesper Skov <jskov@redhat.com> * include/hal_stub.h: Fixed a bad function name. Made it opssible for archs to define CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION.2000-03-20 Jesper Skov <jskov@redhat.com> * cdl/debugging.cdl: Preclude USE_MONITOR when including stubs.2000-03-01 Gary Thomas <gthomas@cygnus.co.uk> * cdl/common.cdl: Define CYGINT_HAL_DIAG_DISABLE_GDB_PROTOCOL_SUPPORTED as an 'interface' so implementations can be properly specified.2000-02-29 Gary Thomas <gthomas@cygnus.co.uk> * cdl/common.cdl: Option to disable GDB protocol now supported by QUICC based PowerPC systems.2000-02-29 Jonathan Larmour <jlarmour@redhat.co.uk> * include/generic-stub.h: Make header C++ safe2000-02-16 Jesper Skov <jskov@redhat.com>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -