question about ioport_map function

ckim at etri.re.kr ckim at etri.re.kr
Sun Mar 21 21:27:50 EDT 2021


Hello all

>From what I understand, to map io ports to virtual memory, we should use
request_region, ioport_map/unmap and ioread/write functions.

These are for architectures having input, output machine instructions like
x86, x86_64. 

And the return address of ioport_map is physical address.

Is my understanding correct?

Thanks!

Chan Kim

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210322/71f7ef9d/attachment.html>


More information about the Kernelnewbies mailing list