On Tue, Apr 22, 2008 at 1:54 AM, Mrunal Gawade <mrunal.gawade@xxxxxxxxx> wrote:
use right shift ( of 32 bit address ) to get page number from the 32 bit address
use left shift ( of page number ) to get the 32 bit address of the first byte of that page
cheers,
Nikhil
Right. But It should be always a right shift right? Why your example has a left shift 1 << PAGE_SHIFT?
use right shift ( of 32 bit address ) to get page number from the 32 bit address
use left shift ( of page number ) to get the 32 bit address of the first byte of that page
cheers,
Nikhil