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 here]()
![enter 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?