📄 changelog
字号:
2004-04-22 Jani Monoses <jani@iv.ro> * cdl/hal.cdl : Invoke tail with stricter syntax that works in latest coreutils. 2004-02-23 Jonathan Larmour <jifl@eCosCentric.com> * cdl/debugging.cdl (CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS): Included stubs should always mean saving full context both on interrupts and context swaps, so make it explicit.2004-01-05 Gary Thomas <gary@mlbassoc.com> * include/hal_if.h: Minor fixup - new 'fconfig' functions broke existing uses of CYGACC_CALL_IF_FLASH_CFG_OP. Added a new macro CYGACC_CALL_IF_FLASH_CFG_OP2 which handles new API and a wrapper to handle the old way (backwards compatability).2003-12-21 Gary Thomas <gary@mlbassoc.com> * src/hal_if.c (flash_config_op): * include/hal_if.h: New expanded functions for RedBoot 'fconfig' database.2003-09-04 Patrick Doyle <wpd@dtccom.com> * include/hal_if.h: * src/hal_if.c (flash_fis_op): Added support for the rest of the FIS operations.2003-08-06 Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be> * src/drv_api.c: Added definition of cyg_interrupt_post_dsr() for use in those HALs that need it. * include/hal_arbiter.h (hal_call_isr): Removed ifdef on CYGFUN_HAL_COMMON_KERNEL_SUPPORT around test and call to cyg_interrupt_post_dsr().2003-07-21 Nick Garnett <nickg@balti.calivar.com> * doc/hal.sgml: Reorganized description of clock and timer related stuff into their own section and added a piece about how to change the clock frequency.2003-06-25 Nick Garnett <nickg@balti.calivar.com> * src/hal_if.c (delay_us): The first test against CYGNUM_KERNEL_COUNTERS_RTC_PERIOD is now against the period divided by two. By the time we get to this test we know that usecs can never be > usec_per_period/2 so we can double the range of period values that we can handle without overflow and use the more efficient approximation. The second test is not changed since we cannot make the same assumptions about the elapsed count.2003-06-24 Jonathan Larmour <jifl@eCosCentric.com> * src/generic-stub.c (crc32): Fix crctable option name typo. * src/hal_if.c (hal_if_init): Remove kill_by_reset. (kill_by_reset): Remove, unused. (reset): ifdef test on HAL_PLATFORM_RESET and assert on reset failure. * cdl/interrupts.cdl (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE): No reason to forbid people setting this quite small. 2003-06-19 Nick Garnett <nickg@balti.calivar.com> * src/hal_if.c (delay_us): Reorganized to cope with high frequency timers by eliminating a source of arithmetic overflow. 2003-05-06 Mark Salter <msalter@redhat.com> * src/hal_stub.c (handle_exception_exit): Call sys_profile_reset from here. Setup to return through return_from_stub() when appropriate. (return_from_stub): New function to call CYGACC_CALL_IF_MONITOR_RETURN from thread context. * src/generic-stub.c (__handle_exception): Call exit_vec if hal_syscall_handler returns negative number.2003-04-08 Mark Salter <msalter@redhat.com> * src/hal_misc.c (hal_default_isr): Allow HAL to override default GDB vector matching test.2003-04-08 Yoshinori Sato <qzb04471@nifty.ne.jp>2003-04-08 Jonathan Larmour <jifl@eCosCentric.com> * cdl/debugging.cdl: Allow CRC to be allocated in ROM as well as RAM. * src/generic-stub.c: as above.2003-04-02 Gary Thomas <gary@mlbassoc.com> * src/generic-stub.c: * include/generic-stub.h: Cleanup when program args are not supported (remove some unused static storage).2003-03-03 Knud Woehler <knud.woehler@microplex.de> * src/hal_if.c: * include/hal_if.h: Add CYGNUM_CALL_IF_FLASH_FIS_OP. FIS read via the virtual vector table. 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com> * cdl/hal.cdl: Fix doc links. * doc/hal.sgml: hal-common-current-doc-porting-sgml entity -> hal-common-porting-sgml in line with other docs.2003-02-13 Mark Salter <msalter@redhat.com> * src/gdb-fileio.h (FILEIO_O_BINARY): New flag. (FILEIO_O_TEXT): New flag.2003-01-31 Mark Salter <msalter@redhat.com> * include/hal_if.h: Add CYGNUM_CALL_IF_MONITOR_RETURN.2002-12-04 Gary Thomas <gthomas@ecoscentric.com> * cdl/hal.cdl: RAM applications should not claim (reset) version string by default.2002-12-03 Gary Thomas <gthomas@ecoscentric.com> * src/hal_if.c (hal_if_init): * include/hal_if.h: * cdl/hal.cdl: Allow monitor (RedBoot) version string to be exported via the virtual vector table.2002-11-13 Gary Thomas <gthomas@ecoscentric.com> * cdl/hal.cdl: Add CDL control over DATA cache startup mode.2002-09-11 Mark Salter <msalter@redhat.com> * include/hal_if.h: Add __COMMCTL_ENABLE_LINE_FLUSH and __COMMCTL_DISABLE_LINE_FLUSH.2002-08-29 Mark Salter <msalter@redhat.com> * include/generic-stub.h: Add defines for Z packet types. * src/bplist-dynamic.c: Add support for deferred hardware breakpoint and watchpoint insertion/deletion. This gets around gdb problem where gdb tries accessing watched memory before removing watchpoint. * src/generic-stub.c (__process_packet): Ditto. * include/hal_stub.h: Ditto.2002-05-23 Jesper Skov <jskov@redhat.com> * cdl/hal.cdl: Don't build tests that are not applicable with the current configuration. Added CYGINT_HAL_TESTS_NO_CACHES which allows cache tests to be suppressed.2002-05-13 Jesper Skov <jskov@redhat.com> * cdl/hal.cdl: Removed CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_NOT_GUARANTEED option and its dependencies.2002-05-02 Nick Garnett <nickg@redhat.com> * doc/hal.sgml: Added description of HAL_DELAY_US(). * doc/porting.sgml: Expanded section on architecture porting.2002-04-30 Jonathan Larmour <jlarmour@redhat.com> * src/gdb-fileio.c (cyg_hal_gdbfileio_process_F_packet): Reset retcode/errno/ctrlc status every F packet.2002-04-23 Jesper Skov <jskov@redhat.com> * doc/porting.sgml: Fix some typos.2002-04-22 Jonathan Larmour <jlarmour@redhat.com> * include/generic-stub.h: Prototype __getpacket(). * src/generic-stub.c: Rename getpacket() -> __getpacket(), remcomInBuffer -> __remcomInBuffer, and remcomOutBuffer -> __remcomOutBuffer throughout file, and export them (i.e. not file local). (__process_packet): Handle $F packets file I/O protocol responses. * src/gdb-fileio.c: New file to implement file I/O operations over the GDB remote protocol. * src/gdb-fileio.h: New file. Header for above.2002-03-15 Nick Garnett <nickg@redhat.com> * doc/porting.sgml: Platform HAL porting guide tidied up and expanded somewhat. Some work also done on variant guide. Architecture guided needs a lot more work. * doc/hal.sgml: Changed explicit section tags to recursive section tags to make any future restructuring easier.2002-03-14 Nick Garnett <nickg@redhat.com> * src/hal_stub.c: Add calls to HAL memory access check macros in memory access functions. * include/hal_stub.h: Added default definitions for HAL memory access check macros.2002-03-06 Nick Garnett <nickg@redhat.com> * tests/cache.c: Changed tests so that zero sized caches and HALs that define HAL_DCACHE_PURGE_ALL() don't cause this test to throw a compilation error.2002-02-28 Jesper Skov <jskov@redhat.com> * src/generic-stub.c (__handle_exception): Pay attention to return value from hal_syscall_handler.2002-02-21 Mark Salter <msalter@redhat.com> * src/hal_if.c (cyg_hal_diag_mangler_gdb_flush): Don't do anything if buffer is empty.2002-02-20 Nick Garnett <nickg@redhat.com> * doc/hal.sgml: Updated and tidied. Now includes porting guide from a separate file. * doc/porting.sgml: Added this file to contain the porting guide section of the HAL document. This is currently largely a conversion of Jesper's porting guide from the website. Unfortunately I have had no time to do much more than include it wholesale, with only minor edits. There are some notes at the end of the file describing what I would like to do.2002-02-18 Nick Garnett <nickg@redhat.com> * doc/hal.sgml: Restructured most of this document and rewrote large chunks of the basic HAL description stuff. Only the skeleton of the porting guided is currently done. This checkin in mostly for safety and to let others read the current state.2002-02-06 Mark Salter <msalter@redhat.com> * src/hal_if.c (cyg_hal_diag_mangler_gdb_control): Add flush support. (cyg_hal_diag_mangler_gdb_flush): New function to flush mangler output. (cyg_hal_diag_mangler_gdb_putc): Use new function to flush output.2002-01-30 Hugo Tyson <hmt@redhat.com> * include/hal_if.h (CYGNUM_FLASH_CFG_OP_CONFIG_INT): New defines for getting Flash Config options out of RedBoot using VV call CYGACC_CALL_IF_FLASH_CFG_OP(). These need to be kept uptodate with (or must override) those in RedBoot's flash_config.h Previously only used for getting an ESA.2002-01-25 Hugo Tyson <hmt@redhat.com> * src/generic-stub.c (__process_packet): If detach or kill, call sys_profile_reset() if BSP_SYSCALLS_GPROF are enabled, to clear out any dangerous state there. Such as a callback function pointer into application code.2002-01-23 Jonathan Larmour <jlarmour@redhat.com> * include/drv_api.h: Add cyg_drv_interrupt_mask/unmask_intunsafe * src/drv_api.c: Ditto. And modify cyg_drv_interrupt_mask/unmask to be interrupt safe. 2002-01-21 Mark Salter <msalter@redhat.com> * include/hal_spd.h: New file. Definitions for SDRAM module SPD.2002-01-18 Jesper Skov <jskov@redhat.com> * src/hal_stub.c (__build_t_packet): don't declare extend_val twice.2001-12-12 Jesper Skov <jskov@redhat.com> * include/hal_stub.h: Add goto to the used label. * src/hal_misc.c: Added (dummy) got for label used in CYGARC_HAL_GET_RETURN_ADDRESS_BACKUP.2001-12-05 Jonathan Larmour <jlarmour@redhat.com> * src/dbg-threads-syscall.c (dbg_thread_syscall): Don't bother to deref a func ptr. The opcode could theoretically be 0x0!2001-12-04 Richard Sandiford <rsandifo@redhat.com> * src/generic-stub.c (__add_char_to_packet): Reverse check for end of buffer and end of packet to fix potential buffer overrun.2001-12-01 Jonathan Larmour <jlarmour@redhat.com> * src/dbg-threads-syscall.c (dbg_thread_syscall): check for NULL dbg_syscall_ptr. * cdl/hal.cdl: require CYGPKG_INFRA since all HALs do!2001-11-29 Hugo Tyson <hmt@redhat.com> * src/hal_stub.c: Enable HAL_STUB_HW_SEND_STOP_REASON_TEXT for XScale architectures per Mark's request; XScale GDB needs to know what's happening with watchpoints (= work around previous change)2001-11-29 Hugo Tyson <hmt@redhat.com> * src/hal_stub.c: Condition out sending the reason for hardware watchpoint stop in the stop packet as $T05watch:01234568;... most GDBs do not understand it and in fact object to it.2001-11-23 Nick Garnett <nickg@redhat.com> * src/generic-stub.c (__process_packet): Fixed bogosity in handling of 'r' packet. It tried to send two replies, messing up the protocol and confusing GDB.2001-11-02 Hugo Tyson <hmt@redhat.com> * include/hal_stub.h (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION): Permit this too to be defined externally ie. in a platform HAL.2001-10-25 Gary Thomas <gthomas@redhat.com> * cdl/hal.cdl: * cdl/debugging.cdl: Reorg CDL a little so that GDB stub routines are only compiled when needed (instead of being compiled "empty").2001-10-24 Gary Thomas <gthomas@redhat.com> * cdl/hal.cdl: Add 'basic' test. * tests/basic.c: New test of some minimal HAL functionality.2001-10-18 Gary Thomas <gthomas@redhat.com> * src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): * cdl/debugging.cdl: CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES is now defined as CDL 'data' flavor (tested via #if vs. #ifdef)2001-10-17 Jesper Skov <jskov@redhat.com> * src/generic-stub.c: Prefixed local version of memcpy and memset with _.2001-10-17 Gary Thomas <gthomas@redhat.com> * cdl/debugging.cdl: * src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): Make retry/abort optional, only attemped if CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES is configured to be non-zero (default now 0).2001-10-16 Jesper Skov <jskov@redhat.com> * include/hal_stub.h: Allow ISOINFRA/LIBC to provide string functions.2001-10-16 Gary Thomas <gthomas@redhat.com> * include/generic-stub.h: Add prototypes for breakpoint_list functions.2001-10-15 David Howells <dhowells@redhat.com> * include/hal_stub.h: put semicolon between goto-label and close curly.2001-10-12 Mark Salter <msalter@redhat.com> * src/thread-packets.c: Don't specify array sizes in extern decls. * src/hal_stub.c: Use HAL_STUB_REGISTERS_SIZE to set number of elements in register save areas. Default to NUMREGS if not defined by HAL. Allow HALs to provide specialized get_register()/put_register(). * src/generic-stub.c (stub_format_registers): Support 'p' packet. (__process_packet): Rearrange ifdefs so error is sent for unsupported Z packet types. (process_query): Add hook for HAL specific queries. (process_set): Add hook for HAL specific sets. * include/generic-stub.h: Add extern decls to quiet compiler warnings.2001-10-11 Gary Thomas <gthomas@redhat.com> * include/generic-stub.h: * src/generic-stub.c: Improve error handling more. Make sure that packets are consumed, even if they are going to be tossed (overflow). This keeps TCP based connections going, even when the data is bad. (getpacket): Only send NAK in case of overflow.2001-10-09 Jesper Skov <jskov@redhat.com> * src/hal_if.c (flash_config_op): Protect with CYGARC_HAL_SAVE_GP.2001-10-04 Jesper Skov <jskov@redhat.com> * include/hal_endian.h: Added. Fix typo.2001-10-03 Jonathan Larmour <jlarmour@redhat.com> * include/hal_tables.h (CYG_HAL_TABLE_BEGIN): Use plain "object" because some (only some though) MIPS tools complain with %object. (CYG_HAL_TABLE_END): Ditto.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -