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 1002169] Broken cyg_interrupt_disable/enable for cortex m3


Please do not reply to this email, use the link below.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1002169

--- Comment #4 from Bernard Fouché <bernard.fouche@kuantic.com> ---
IMHO it is necessary to fix hal_interrupt_set_level() because by not left
shifting the prio level of an int, user set values will surely be < to BASEPRI
and the functioning of the function is weird, who expect to set values << 3 or
<<4 in the .ecc to get correct prio levels? The provided patch also set the
default prio level at the maximum value for all unused ints, I can change it to
set these to max/2 if necessary.

-- 
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]