LibBSD | pci: Add zynqmp pcib support (!146)
Aaron Nyholm (@eagleirony)
gitlab at rtems.org
Thu Jun 11 01:14:45 UTC 2026
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260611/acbfb9d0/attachment-0001.htm>
More information about the bugs
mailing list