Disabling Zynq interrupts

Andy James A.James at sstl.co.uk
Mon Dec 16 10:27:40 UTC 2019


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20191216/4a83c0af/attachment.html>


More information about the users mailing list