lkml.org 
[lkml]   [2003]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Error accessing memory between 0xc0000 and 0x100000
On Tue, 25 Mar 2003, Edgardo Hames wrote:

> Hi everybody. I'm trying to write a simple device driver to read and write
> memory at addresses beween 0xc0000 and 0x100000, but when I try to load the
> module I get the following error:
>

Check out ioremap(). Although the addresses you show are already
mapped, you need to access them with the "cookie" returned from
ioremap().


Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.

-
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: 2005-03-22 13:34    [W:0.046 / U:19.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site