can't interface I/O address Space
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Sun Feb 6 23:46:04 CET 2011
On Sun Feb 06, 2011 at 22:29:00 +0000, Jason Philip wrote:
> I just need know if I can use pointer and if not, then what is
> a correct method.
For I/O ports you use assembly instructions 'in' and 'out'.
For I/O memory you use *(volatile X *)pointer, with X being a
data type with the width you want to read/write.
Adam
--
Adam adam at os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
More information about the l4-hackers
mailing list