This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001111] Access to saved registers from Cortex-M ISR


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001111

John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1072|0                           |1
        is obsolete|                            |

--- Comment #6 from John Dallaway <john@dallaway.org.uk> 2011-01-13 11:47:29 GMT ---
Created an attachment (id=1074)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1074)
cortexm-intr-state-110113.patch

This patch fixes the reported issue by providing a CDL interface to control the
definition of the hal_saved_interrupt_state symbol used for GDB Ctrl-C break
and certain profiling ISR implementations. This requires no immediate changes
elsewhere.

The patch also modifies the Cortex-M architecture HAL to test
CYGINT_HAL_COMMON_SAVED_INTERRUPT_STATE_REQUIRED in order to determine whether
to save interrupt state. Other architecture HALs may be modified to do likewise
in the future.

Any HAL packages associated with such modified architecture HALs may implement
CYGINT_HAL_COMMON_SAVED_INTERRUPT_STATE_REQUIRED to ensure that interrupt state
will be accessible via hal_saved_interrupt_state.

Any further comments?

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]