Disabling Zynq interrupts

jameszxj jameszxj at gmail.com
Mon Dec 16 10:35:57 UTC 2019


you can use bsp_interrupt_vector_enable/bsp_interrupt_vector_disable

------------------ Original ------------------
From: "Andy James"<A.James at sstl.co.uk>;
Date: Mon, Dec 16, 2019 06:27 PM
To: "users at rtems.org"<users at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20191216/497ed8f7/attachment.html>


More information about the users mailing list