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 1001143] Ecos crashes when using "nop" instead of "wfi"


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

--- Comment #9 from John Dallaway <john@dallaway.org.uk> 2011-03-04 10:48:58 GMT ---
(In reply to comment #8)

> The solution is:
> 
> > # define HAL_DISABLE_INTERRUPTS(__old)          \
> >     __asm__ volatile (                          \
> >         "mrs    %0, basepri             \n"     \
> >         "mov    r1,%1                   \n"     \
> >         "msr    basepri,r1              \n"     \
> >         : "=r" (__old)                          \
> >         :  "I" (CYGNUM_HAL_CORTEXM_PRIORITY_MAX)\
> >         : "r1"                                  \
> >         );
> 
> As we fixed this, we were not able to reproduce this behavior any more.
> 
> I was looking for a bug report describing this fault. As there is still no bug
> report: should I replay on the mailing list (02/16/11) or just add new one
> based on our findings?

Stano raised bug 1001154 and the HAL_DISABLE_INTERRUPTS() macro is now fixed in
CVS. Are you or Cyrill able to confirm that the current version of the macro
resolves the issue reported here?

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


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