On Saturday 02 Apr 2011 9:55:35 pm James Light wrote: > > To put the physical address into cr3 later. > $swapper_pg_dir is not the PHYSICAL address of the PGD. Correct me if I am wrong but a mov $foo,%eax would move the address of foo variable to eax right? Or is there a macro somewhere where they are adding PAGE_OFFSET to the address so that the $swapper_pg_dir - __PAGE_OFFSET justifies? _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies