回复:Re: 回复:Re: some question about arch/x86/kernel/head_64.S

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

 



I see.
Thank you Mike :-)


在2015年12月30日 20:25,Mike Krinkin 写道:
On Wed, Dec 30, 2015 at 08:04:19PM +0800, hitmoon wrote:
> Thank you mike!
> so ,after the first instruction ,rbp contains the offset of actually loaded
> address, which equals the physical address.

yes, comment above says that at that point "someone has loaded an identity
mapped page table", so it should be equal to the physical address.

> $_text - __START_KERNEL_map contains the expected physical address .
> Right ?

yes, as far as i can tell.
_______________________________________________
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