Hi all,
I need to read a 2-byte signature from 0-1MB physical memory area from a daemon on kernel 2.6.9 or beyond.
Really blank about how to do it. "mmap" system call is available but it can map using file descriptor.
Is there a way to map physical memory (0-1MB) in user space?
Will appreciate if someone can please provide a sample code for how to
do it
for kernel 2.6.9 from user-space.
BIOS puts up a information in 0-1MB area during the
boot, and i need to first scan a signature from a daemon which will
reside in initrd.
Any ideas will be very helpful.
thanks very much
-vikas aggarwal