Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12241

Why does some mmio-only arch still have inb/outb and etc in linux kernel?

$
0
0

afaik, port-mapped io only exists on x86, and inb, outb, inw, outw and their friends are all c functions for port-maped io. But I still find many arch under kernel/arch/ use them: enter image description hereenter image description here

Question: 1. why doesn these non-x86 arch also use these functions? 2. why arm use these functions while arm64 doesn't?


Viewing all articles
Browse latest Browse all 12241

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>