Hi Kernel-dudes,
I have used this snippet of code previously in a 2.2 kernel
to get the physical address of the user virtual address 'addr'.
It worked fine under 2.2, but gives me crap under 2.4. I have
looked at bits of code in the 2.4 memory manager that do
similar stuff, and it looks much the
Thank you,
But how do I get the physical address out of the page
structure? It is non-obvious to me. Is there some majic
macro? We are talking about 'struct page' in mm.h, correct?
Greg.
Quoth David S. Miller:
> In 2.4.x pte_page() gives a pointer to a page struct, not an address
> as in 2.2.x.
2 matches
Mail list logo