Sunil Hegde commented on a discussion on bsps/sparc/erc32/start/erc32trap.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_122750 > + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN > + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) > + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF > THE > + * POSSIBILITY OF SUCH DAMAGE. > + */ > + > +#include <bsp.h> > + > +void ERC32_Clear_and_unmask_interrupt(rtems_vector_number vector) > +{ > + if (SPARC_IS_INTERRUPT_TRAP(vector)) { > + uint32_t source = SPARC_INTERRUPT_TRAP_TO_SOURCE(vector); > + ERC32_Clear_interrupt(source); > + ERC32_Unmask_interrupt(source); > + } > +} done -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_122750 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs