Reading a physical memory location

From: vraghavan3
Date: Mon Jul 09 2007 - 16:08:29 EST




--
Hey all,

I know the physical address of a string which is loaded into flash memory. I
want to read the string at the known physical memory location from within a
kernel module. I initially tried reading the "/dev/mem" file using open(),
lseek() and read(). But I guess its not possible to call these functions from a
kernel module.

Is there some way of reading the contents of this physical memory location from
within a kernel module?

Thank You
Veena
-
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/