On Sat, Jul 20, 2019 at 04:39:08PM +0100, Mark Cave-Ayland wrote:
I'm fairly sure the reason I named the function pci-map-in rather than just map-in is because it doesn't quite follow the spec, but it's enough to allow us to map various devices within memory such as the in-built VGA driver in vga.fs (see there for an example usage).
There is no standard map-in word, only map-in device methods, which can be different for each (bus) node. It is convenient to have some global words that work for many buses on a system, like your pci-map-in probably is; it is also helpful to have separate names for them then, to ease debugging.
Segher