slide 9 of 14
I/O Vs. Memory Mapping
-
I/O mapping
-
Doesn't interfere with page table, cache
-
Can control permission for each port individually
-
Need
iopl(3)
, ioperm(...)
,
or giveioperm(...)
-
Memory mapping
-
Directly access with C code
-
Requires page table manipulation