[Gllug] Virtual memory error in driver

James Courtier-Dutton james.dutton at gmail.com
Tue Jul 26 09:02:11 UTC 2011


On 25 July 2011 22:14,  <salsaman at xs4all.nl> wrote:
> Hi all,
> I am trying to write a driver to read the values of some peripheral. The
> first step is to set the direction of the pins to read, the code is
> something like:
>
> unit8_t *address = 0x01e26088;
> memset(address, 0xFF, 1);
>
> however when I load the module with this code, I get an error:
>
> Unable to handle kernel paging request at virtual address 01e26088
>

Where are you getting 0x01e26088 from?
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list