Aaron Nyholm commented on a discussion on 
rtemsbsd/sys/dev/xilinx/xlnx_nwl_pcib.c: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/146#note_152256

 > +}
 > +
 > +static void xlnx_nwl_pcib_msi_intr(void* arg, int msireg) {
 > +    struct xlnx_nwl_pcib_softc* sc;
 > +    struct xlnx_nwl_pcib_irqsrc* irq_i;
 > +    struct trapframe* tf;
 > +    uint32_t reg;
 > +    int i;
 > +    int irq;
 > +
 > +    sc = arg;
 > +#ifndef __rtems__
 > +    tf = curthread->td_intr_frame;
 > +#else /* __rtems__ */
 > +    tf = NULL;
 > +#endif

This is an original file, I have included these `ifndef __rtems__` to mirror 
those found in FreeBSD. This is for if/when this gets moved upstream it reduces 
the amount of work required to get it working upstream.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/146#note_152256
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to