Is there any suitable way to get the physical address by the logical one except to walk through page directory entries by hand? I\'ve looked for this functionality in kernel
It sounds like you're looking for virt_to_phys.