Paul Jakma wrote:
>On Tue, 16 Oct 2001, Stephen Shirley wrote:
>>>to copy out data to look at it etc), but i was wondering was there any
>>particular reasons why people would choose one over the other.
>>memmory mapped is generally a lot faster.
Well this depends. For large wads of data the compiler/CPU should do a
job @ optimising memory access instructions as apposed to inb etc? Also for
hardware compatibility reasons I think, most ports in the 0-0x3ff range take
almost exactly 1 microsecond to access.
This has good linux specific info:
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!