Thank you very much. I was bit over-confident on addressing :).
Now things are working fine. But still I wonder why didn't it throw bus
error.
Now, I am facing a new problem
* When I map the same physical address to kernel virtual address using
ioremap, it fails.
I understand that ioremap is
On inspecting the flags of the PageTable entry that holds the page base
address (20002000) I inferred that the page was not dirty (i.e. the page was
not written or updated). The following flags were set.
0x237 (Refer. arch/x86/include/asm/pgtable_types.h from the source code
2.6.34).
*#define
Dear All,
I have an 512 MB RAM on an Intel desktop machine, of which Kernel
uses 256M for all allocation for kernel as well as for user
programs. (by passing mem=256M as a boot parameter). Hence I have
256MB of memory which I can treat it as IO memory.
System memory is
Dear All,
Attaching my experiment files.
1. kmmap.c = Kernel module
2. mmap.c = application
3. Makefile
4. kscript.sh = shell script which will build the kernel module,
does insmod and
execute the application.
I have
Hello Prabhu,
On Mon, Oct 4, 2010 at 3:55 PM, Prabhu nath gprabhun...@gmail.com wrote:
Dear All,
I have an 512 MB RAM on an Intel desktop machine, of which Kernel
uses 256M for all allocation for kernel as well as for user
programs. (by passing mem=256M as a boot