lkml.org 
[lkml]   [2006]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Special handling of sysfs device resource files?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Mackerras wrote:
> Ian Romanick writes:
>
>>This seems to mostly work, but I am having one problem. I map the
>>region by opening the file with O_RDWR, then mmap with
>>(PROT_READ|PROT_WRITE) and MAP_SHARED. In all cases, the open and mmap
>>succeed. However, for I/O BARs, the resulting pointer from mmap is
>>invalid. Any access to it results in a segfault and GDB says it's "out
>>of range".
>
> On which architecture(s)?

I've only tried on x86-64 (an Athlon64 3000+ to be exact) so far.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEPRd4X1gOwKyEAw8RAhdxAKCX9Y/ju2jK7q5Wdzmb9kfwt9T3lwCbBwrq
BIRJkEIGqSOrXtkDC3/2Fts=
=mePG
-----END PGP SIGNATURE-----
-
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-04-12 17:13    [W:0.064 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site