lkml.org 
[lkml]   [2006]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ioread64()?
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@nospamshaw.ca
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-08 01:27    [W:0.039 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site