📄 changelog
字号:
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-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 extension
2001-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-17
2001-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 default
2001-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_t
2001-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.
2000-12-05 Drew Moseley <dmoseley@redhat.com>
* src/hal_stub.c (__build_t_packet): Handle
CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T with Little Endian
target.
* include/hal_misc.h: Added BIT and SZ_ defines.
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): Ditto
2000-09-07 Jonathan Larmour <jlarmour@redhat.com>
* include/hal_tables.h: Fix non-standard use of paste operator to
remove warnings with recent gcc
2000-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): Define
2000-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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -