forked from Imagelibrary/rtems
PR1960: ERC32_Is_interrupt_masked for ERC32 in erc32.h
The function-like macro ERC32_Is_interrupt_masked defined as: (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. Update the macro accordingly.
This commit is contained in:
committed by
Gedare Bloom
parent
ce8363d363
commit
bde2237020
@@ -362,7 +362,7 @@ static __inline__ int bsp_irq_fixup(int irq)
|
||||
(ERC32_MEC.Interrupt_Pending & (1 << (_source)))
|
||||
|
||||
#define ERC32_Is_interrupt_masked( _source ) \
|
||||
(ERC32_MEC.Interrupt_Masked & (1 << (_source)))
|
||||
(ERC32_MEC.Interrupt_Mask & (1 << (_source)))
|
||||
|
||||
#define ERC32_Mask_interrupt( _source ) \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user