> Hi, > How to mmap PCI BARs from userland in freebsd? > In Linux the PCI BAR appears as a file in the sysfs file system. How can I > access PCI BAR as a file in freebsd to mmap it? if you know the adress (pciconf tool, or by system call i think) then map portion of /dev/mem /dev/mem equals to physical addresses.