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