📄 changelog
字号:
2001-10-02 Jonathan Larmour <jlarmour@redhat.com> * include/hal_tables.h (CYG_HAL_TABLE_BEGIN): Use %object syntax rather than @object since @ is a comment character on ARM. gas accepts either syntax. (CYG_HAL_TABLE_END): Ditto.2001-10-01 Gary Thomas <gthomas@redhat.com> * src/generic-stub.c (getpacket): Send back error response (E01) if packet received which overflows buffers. GDB doesn't always do much with this error, but at least it keeps the protocol moving.2001-09-26 Gary Thomas <gthomas@redhat.com> * cdl/common.cdl: New interface CYGINT_HAL_SUPPORTS_MMU_TABLES which indicates if the HAL supports MMU tables (few do).2001-09-25 Gary Thomas <gthomas@redhat.com> * cdl/common.cdl (CYGSEM_HAL_INSTALL_MMU_TABLES): Change to be default for ROM startup.2001-09-20 Jesper Skov <jskov@redhat.com> * tests/vaargs.c (cyg_start): Call CYG_TEST_INIT.2001-09-10 Nick Garnett <nickg@redhat.com> * include/hal_stub.h (strlen): Changed return type to size_t from int so it matches <string.h>. For some reason the compiler has suddenly started complaining about the type mismatch. Strange.2001-09-07 Nick Garnett <nickg@redhat.com> * src/hal_stub.c (put_register): Added kludge for VR4300 targets to sign extent the PC when it is being set. This is due to the age of the VR4300 toolchain and the fact that the VR4300 is the only target to do full 64bit register saves/restores.2001-09-07 Jesper Skov <jskov@redhat.com> * include/hal_if.h: Fix typo in below change.2001-09-07 Jonathan Larmour <jlarmour@redhat.com> * include/hal_if.h (CYGACC_CALL_IF_DBG_SYSCALL): Define and call with correct arguments.2001-08-24 Mark Salter <msalter@redhat.com> * src/generic-stub.c (__process_packet): Add support for 'D' packet. (__process_packet): Check for impossible mem write length.2001-08-17 Jonathan Larmour <jlarmour@redhat.com> * cdl/hal.cdl: Add CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT interface.2001-08-16 Gary Thomas <gthomas@redhat.com> * cdl/hal.cdl: Add CDL options to control GDB protocol retries.2001-08-14 Gary Thomas <gthomas@redhat.com> * src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): Use timeout functions to allow for retries. This should improve the case where [for whatever reason] the host GDB misses or ignores a $O packet - it will get resent after a reasonable timeout.2001-08-03 Gary Thomas <gthomas@redhat.com>2001-08-03 Jesper Skov <jskov@redhat.com> * include/hal_if.h: Use inline functions for calls - allowing interrupts to be disabled while services are called [CYGACC_COMM_IF_CONTROL is an exception since it's using variable arguments - so it's still a macro]. Pruned unused IF vectors: ICTRL_TABLE, EXC_TABLE, DBG_VECTOR, CPU_DATA, BOARD_DATA, SYSINFO, SET_SERIAL_BAUD. Note: this should fix bug CR 902745-CR. * cdl/hal.cdl: Removed CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_ICTRL. * src/hal_if.c (hal_if_init): Removed initialization of ICTRL_TABLE, EXC_TABLE, CPU_DATA and BOARD_DATA entries.2001-08-03 Nick Garnett <nickg@redhat.com> Imported from a development branch: 2001-07-11 Nick Garnett <nickg@redhat.com> * include/drv_api.h: * src/drv_api.c: Added API for controlling routing of interrupts to CPUs in SMP configurations. 2001-06-29 Nick Garnett <nickg@cygnus.co.uk> * include/drv_api.h: * src/drv_api.c: Added API for using spinlocks.2001-08-03 Jesper Skov <jskov@redhat.com> * tests/vaargs.c: Added. * cdl/hal.cdl: Added CYGPKG_HAL_BUILD_COMPILER_TESTS to allow cpp1 and vaargs tests to be compiled conditionally.2001-07-27 Jesper Skov <jskov@redhat.com> * tests/intr.c: Set up interrupt ISR using driver API so it works properly in chained mode in the presence of arbiters. * src/drv_api.c (chain_isr): Call default ISR when appropriate. Return ISR return value. * include/hal_arbiter.h (hal_call_isr): Added version to be used with interrupt chaining.2001-07-24 Mark Salter <msalter@redhat.com> * cdl/hal.cdl (CYGINT_HAL_PLF_IF_IDE): New interface which indicates platform supports IDE controller I/F macros.2001-06-29 Jonathan Larmour <jlarmour@redhat.com> * cdl/hal.cdl (CYGPKG_HAL_TESTS): Remove redundant .c extension2001-06-29 Jesper Skov <jskov@redhat.com> * include/hal_misc.h: Moved arbiter helper to * include/hal_arbiter.h: this file to avoid header file inclusion order problems.2001-06-28 Jesper Skov <jskov@redhat.com> * include/hal_misc.h (hal_call_isr): Added. Used by ISR arbiters.2001-06-22 Gary Thomas <gthomas@redhat.com> * src/generic-stub.c (BUFMAX): Define as platform specific, thus reducing memory requirements. (__process_packet): Eliminate program arguments support until eCos makes use of them (more memory savings).2001-06-22 Mark Salter <msalter@redhat.com> * src/hal_stub.c (__do_copy_mem): Add goto statement to prevent compiler from moving instructions across 'err' label.2001-06-14 Jonathan Larmour <jlarmour@redhat.com> * src/generic-stub.c (__process_packet): Don't reset the board straight away with a 'r' packet. Let a 'k' packet do it instead. * src/hal_stub.c (__install_traps): Remove redundant comment.2001-06-11 Jonathan Larmour <jlarmour@redhat.com> * src/hal_if.c (delay_us): Revert below change of 2001-05-172001-06-05 Hugo Tyson <hmt@redhat.com> * src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): The nesting of CYGARC_HAL_SAVE_GP() and the instant-out if sending a carriage return "\r" was wrong - it scrambled the gp for the caller! Since the return-test is trivial, I simply re-ordered rather than making the exit clause complex with a restore in it.2001-05-17 Jonathan Larmour <jlarmour@redhat.com> * src/hal_if.c (delay_us): Warn if using default2001-05-14 Jonathan Larmour <jlarmour@redhat.com> * cdl/interrupts.cdl (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE): Default stack size to 32K for non-kernel configs, and describe why.2001-05-07 Gary Thomas <gthomas@redhat.com> * src/hal_if.c (hal_ctrlc_check): Only return 'true' if the ISR/DSR actually processes a ^C. Otherwise, interrupts/date can be lost on a shared channel (like an ethernet device).2001-04-30 Gary Thomas <gthomas@redhat.com> * cdl/hal.cdl: Add configury to control initial cache behaviour.2001-04-30 Hugo Tyson <hmt@redhat.com> * cdl/hal.cdl: Add tests/cpp1.c to the tests list. * tests/cpp1.c: New test, to test for regressions in the tools. This one is for a CPP bug in the XScale tools where '+' binds too strongly following a ')' because it is mistaken for unary plus.2001-04-25 Bart Veer <bartv@redhat.com> * tests/cache.c: Fix test for cache presence. * src/drv_api.c (cyg_drv_interrupt_detach): Added missing indirection.2001-03-28 Jonathan Larmour <jlarmour@redhat.com> * include/dbg-threads-api.h: Add dbg_thread_id() function prototype.2001-03-21 Mark Salter <msalter@redhat.com> * src/hal_if.c (hal_if_init): Add explicit typecast when setting version. Needed when sizeof(int) < sizeof(CYG_ADDRWORD).2001-03-21 Jesper Skov <jskov@redhat.com> * src/hal_if.c (hal_if_init): Added warning about debugging.2001-03-20 Jonathan Larmour <jlarmour@redhat.com> * include/hal_if.h: Add argument names to __call_if_flash_cfg_op_fn_t2001-03-16 Mark Salter <msalter@redhat.com> * src/hal_stub.c (__build_t_packet): Add hook for adding arch-specific registers to T packet. (handle_exception_cleanup): Skip orig_registers past breakpoint so we return to original context rather than hit breakpoint again.2001-03-16 Hugo Tyson <hmt@redhat.com> * include/hal_if.h: Define types and slots and macros themed with the phrase CALL_IF_FLASH_CFG_OP following the pattern of what's there for the other slots. Thus CYGNUM_CALL_IF_FLASH_CFG_OP, CYGACC_CALL_IF_FLASH_CFG_OP(...) and __call_if_flash_cfg_op_fn_t are all newly defined. Also CYGNUM_CALL_IF_FLASH_CFG_GET which is the only operation supported in this initial version. Also changed many typedef'd function pointers to not include the pointerness; that way the type can be used to validate the correctness of arguments in the called function. * src/hal_stub.c (__reset): Minor change to reset function handling; pointerness of typedef removed. * src/hal_if.c (flash_config_op): New function to call flash ops in RedBoot. This is so that RedBoot can manage ethernet addresses for you, and the application can get at the data "cleanly". (hal_if_init): Install flash_config_op() in the table if defined.2001-03-12 Mark Salter <msalter@redhat.com> * src/hal_misc.c (cyg_hal_user_break): Use macro to find PC in saved regs. * src/generic-stub.c: Add support for harvard memories. * src/bplist-dynamic.c: Ditto. * include/generic-stub.h: Ditto. * include/hal_stub.h: Add dummy harvard memory macros for princeton memory systems.2001-03-12 Jesper Skov <jskov@redhat.com> * src/drv_api.c (cyg_drv_interrupt_detach): Fix missing intr-> change.2001-03-08 Jesper Skov <jskov@redhat.com> * cdl/hal.cdl: Change sense of CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_GUARANTEED to new CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_NOT_GUARANTEED.2001-03-07 Jesper Skov <jskov@redhat.com> * src/drv_api.c: Use macro to provide symbol alias.2001-03-05 Jesper Skov <jskov@redhat.com> * src/hal_if.c (hal_if_diag_init): Ensure the function only executes once.2001-03-02 Gary Thomas <gthomas@redhat.com> * cdl/hal.cdl: * include/hal_if.h: * src/hal_if.c (hal_if_init): Support platform specific initializations.2001-02-26 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.2001-02-09 Jesper Skov <jskov@redhat.com> * cdl/debugging.cdl: Make CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT and CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT options have sensible defaults.2001-02-08 Jesper Skov <jskov@redhat.com> * cdl/hal.cdl: Added CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE and CHANNEL_CONFIGURABLE options. * cdl/common.cdl: Added CYGDBG_HAL_DIAG_TO_DEBUG_CHAN option. * src/hal_if.c: Changes to respect new options. Always do platform driver init from CLAIM_COMMS code. * src/hal_stub.c: Leave channel setup to CLAIM_COMMS code. * src/hal_if.c: Added null mangler that gets called via the virtual vector console comms entry and just forwards IO to the debug comms entries. This differs from setting the console channel to the same as the debug channel in that console output will go to the debug channel even if the debug channel is changed.2001-02-07 Jesper Skov <jskov@redhat.com> * include/hal_if.h: Allow architecture to override COMM and CALL accessor macros.2001-02-03 Gary Thomas <gthomas@redhat.com> * src/bplist-dynamic.c (__set_breakpoint, __remove_breakpoint): Fix error introduced below when no breakpoint list defined.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.2001-02-01 Jesper Skov <jskov@redhat.com> * src/drv_api.c: Make it build with chaining. * include/hal_if.h: Introduce macros for legal version range and special hacked version number used by ctrlc magic. * src/hal_if.c (hal_ctrlc_isr_init): Be more careful with how the version number is checked (and trashed) by the ctrlc init code. * src/hal_misc.c (hal_default_isr): Same. * src/hal_stub.c: Moved mangling code to hal_if.c * src/hal_if.c: New policies for when and how to initialize the IO channels. Mangler code now set up by diag_init to allow for mangling when no stub is included. * include/hal_if.h: Added COMM version in upper 16 bits of version word. Removed CYGPRI_HAL_IMPLEMENTS_IF_SERVICES. * src/hal_misc.c: Use masks when checking vv versions. * cdl/hal.cdl: Add new options for selecting which parts of the virtual vector table to initialize. * src/hal_if.c: Matching granularity in initialization code. Extra checking of services before using these. * cdl/debugging.cdl: Require channel initialization when enabling stubs.2001-01-31 Jesper Skov <jskov@redhat.com> * cdl/common.cdl: Get rid of CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL options. They are replaced by the CYGSEM_HAL_DIAG_MANGLER option.2001-01-31 Hugo Tyson <hmt@redhat.com> * include/hal_if.h: Make it possible to build logical ether driver even without virtual vectors present, by defining a dummy HAL_CTRLC_CHECK in that case; other code invokes it if debugging per se is enabled.2001-01-26 Jesper Skov <jskov@redhat.com> * src/hal_stub.c (__reset): Rename HAL_STUB_PLATFORM_RESETx macros to HAL_PLATFORM_RESETx. * src/hal_if.c (reset): Same.2001-01-15 Nick Garnett <nickg@cygnus.co.uk> * src/drv_api.c: Initialized isr_disable_counter to 1 so that it indicates that interrupts are initially disabled.2000-12-15 Gary Thomas <gthomas@redhat.com> * src/generic-stub.c: Define 'version' string to be a weak symbol that can be easily overridden (e.g. by RedBoot).2000-12-11 Gary Thomas <gthomas@redhat.com> * src/hal_if.c: Remove unnecessary (polluting) include file. * include/hal_stub.h: Support platform/variant supplied include files. <cyg/hal/plf_XXX.h> can now be layered as <cyg/hal/var_XXX.h> which includes <cyg/hal/plf_XXX.h>.2000-12-06 Jesper Skov <jskov@redhat.com> * src/hal_if.c (delay_us): Ensure proper _GP save/restore. Reduce number of loops in fall-back code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -