In article <20210123230600.52be160...@jupiter.mumble.net>, Taylor R Campbell <campbell+netbsd-source-change...@mumble.net> wrote: > >Conversely, how do you know whether this hacked-up implementation >which tears the write into two will actually work? Maybe it works for >virtio but there are likely other devices out there for which it will >fail or have weird side effects if the architecture doesn't have >native 8-byte bus I/O.
But it is a static function defined in virtio_pci.c. How will other devices use it? I must be missing something. christos