Re: Regarding enable paging code and swapper_pg_dir.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux