kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* some question about arch/x86/kernel/head_64.S
@ 2015-12-30 10:45 xiaoqiang zhao
       [not found] ` <20151230113540.GA21821@kmu-tp-x230>
  0 siblings, 1 reply; 4+ messages in thread
From: xiaoqiang zhao @ 2015-12-30 10:45 UTC (permalink / raw)
  To: kernelnewbies

Hello:

After kernel is decompressed, the kernel will execute startup_64 and
the first two instructions are:

    leaq    _text(%rip), %rbp
    subq    $_text - __START_KERNEL_map, %rbp

I tried to understand them but can not figure out what rbp contains
after this two instructions. Anybody give me a clear explanation?

Thanks a lot!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-30 21:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-30 10:45 some question about arch/x86/kernel/head_64.S xiaoqiang zhao
     [not found] ` <20151230113540.GA21821@kmu-tp-x230>
2015-12-30 12:04   ` 回复:Re: " hitmoon
2015-12-30 12:25     ` Mike Krinkin
2015-12-30 21:12     ` 回复:Re: " hitmoon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).