Re: ioread64()?
From: Robert Hancock
Date: Thu Sep 07 2006 - 19:21:06 EST
Rolf Eike Beer wrote:
Hi,
I'm looking for a way to access 64 or 128 bit of device space in a single
access. For smaller accesses I use ioread32() and friends. But which way
should I do it for the next bigger accesses? Casting the iospace to something
like u64* looks very suspicious to me. Any better ideas?
Greetings,
Eike
There's no portable way to do this as far as I'm aware, for the likely
reason that on many architectures it's impossible to do it in one access..
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/