you can use bsp_interrupt_vector_enable/bsp_interrupt_vector_disable
------------------ Original ------------------
From: "Andy James"<a.ja...@sstl.co.uk>;
Date: Mon, Dec 16, 2019 06:27 PM
To: "users@rtems.org"<users@rtems.org>;
Subject: Disabling Zynq interrupts
How do I mask specific fabric interrupts in RTEMS 5 on the Zynq, apart from
disabling them in the attached peripheral??s interrupt enable register?
I??m looking for something similar to this, but for the Zynq
#define LEON_Mask_interrupt( _source ) \
do { \
uint32_t _level; \
\
_level = sparc_disable_interrupts(); \
LEON_REG.Interrupt_Mask &= ~(1 << (_source)); \
sparc_enable_interrupts( _level ); \
} while (0)
The information contained in this message is intended for the addressee only
and may contain sensitive information. If you are not the addressee, please
delete this message and notify the sender; you should not copy or distribute
this message or disclose its contents to anyone. Any views or opinions
expressed in this message are those of the individual(s) and not necessarily of
the organisation. No reliance may be placed on this message without written
confirmation from an authorised representative of its contents. No guarantee is
implied that this message or any attachment is virus free or has not been
intercepted and amended.
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users