Greetings tech-kern and netbsd community! My name is Oliver and I'm a Computer Engineering student from Brazil, I'm from the Federal University of São Carlos and am interested in contributing to netbsd for GSoC 2026!
I've been working on the Userland PCI Drivers project for GSoC 2026 (https://wiki.netbsd.org/projects/project/userland_pci/) and have a draft implementation of the first milestone, achieved by mapping PCI BARs from userspace via a new ioctl. (https://github.com/NetBSD/src/pull/74) This adds PCI_IOC_MAP_BAR to /dev/pci/pci_usrreq.c, allowing userspace to safely map device registers without using /dev/mem. I've tested it with QEMU's edu device and it returns the correct BAR offset and size. I'd really appreciate any feedback and guidance on the work I've done. Thanks for your time! Oliver Miyar Ugarte
