Hi,
I'm writing a kernel module.
When I try to obtain the pte of an address
like 0x0005000, I get informed that pte is not present.
That is not possible. It's Kernel
code!!
The c code is like:
pgd_t dir = pgd_offset(current->mm,addr);
pmd_t pmd = pmd_offset(dir,addr); pte_t pte = pte_alloc_offset(pmd,addr); What's wrong??
Thanks,
Pedro
|