[Bug 1960] New: ERC32_Is_interrupt_masked for ERC32 in erc32.h
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Thu Nov 10 12:57:29 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1960
Summary: ERC32_Is_interrupt_masked for ERC32 in erc32.h
Product: RTEMS
Version: HEAD
Platform: sparc
OS/Version: RTEMS
Status: NEW
Severity: minor
Priority: P3
Component: bsps
AssignedTo: joel.sherrill at oarcorp.com
ReportedBy: silvah15 at gmail.com
The function-like macro ERC32_Is_interrupt_masked defined as:
#define ERC32_Is_interrupt_masked( _source ) \
(ERC32_MEC.Interrupt_Masked & (1 << (_source)))
The ERC32_MEC is of type ERC32_Register_Map structure and Interrupt_Masked does
not exist in structure, instead Interrupt_Mask exists.
Proposed solution: The ERC32_Is_interrupt_masked should be updated to:
#define ERC32_Is_interrupt_masked( _source ) \
(REC32_MEC.Interrupt_Mask & (1 << (_source)))
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list