On Wed, May 26, 2010 at 1:14 PM, Joel Fernandes <agnel.joel@xxxxxxxxx> wrote:
Hi Mayank,
That is exactly what kmap and kmap_atomic are used for. Did you try using these?
> To support my kernel debugging tool, I need to examine memory at specific
> locations in the physical address space of a CPU.
> Obviously, I need to map these physical addresses into the VA space of the
> CPU. And this has to be done in an interrupt context, when the kernel
> debugger will have broken into the kernel.
take care,
Joel
That looks promising. Thanks for the hint, I'll take a look to see if it works for me. I wonder if it works fine on x86_64 too, since it seems to return just page->virtual if (!HIGHMEM)
thanks,
-Mayank