Finding Physical page number from the virtual address of kernel BSS section

85 Views Asked by At

I am using 32-bit x86 architecture, I have taken one global variable in kernel space, so memory for that variable will be assigned in the BSS section of kernel's virtual memory. now I have a virtual address of that global variable and using that virtual address I want to read physical page number. Is it possible to read a physical page number? If yes, How?

Can anyone please explain what are a drambase and kas_physbase?

0

There are 0 best solutions below