kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Regarding enable paging code and swapper_pg_dir.
@ 2011-04-01 20:07 mindentropy
       [not found] ` <20110401211921.GH23673@stevens.edu>
  0 siblings, 1 reply; 7+ messages in thread
From: mindentropy @ 2011-04-01 20:07 UTC (permalink / raw)
  To: kernelnewbies

Hi All,

  In the code http://lxr.linux.no/#linux+v2.6.12/arch/i386/kernel/head.S#L186 
I am not able to understand what's the reason for subtracting swapper_pg_dir 
with __PAGE_OFFSET(0xc0000000). i.e. movl $swapper_pg_dir-__PAGE_OFFSET 
Shouldn't it be movl $swapper_pg_dir, %eax?

Thanks.

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

end of thread, other threads:[~2011-04-04 21:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-01 20:07 Regarding enable paging code and swapper_pg_dir mindentropy
     [not found] ` <20110401211921.GH23673@stevens.edu>
     [not found]   ` <201104021333.21661.mindentropy@gmail.com>
2011-04-02 16:25     ` James Light
2011-04-02 16:31       ` James Light
2011-04-02 17:48       ` mindentropy
2011-04-02 20:52         ` James Light
2011-04-03 20:54           ` mindentropy
2011-04-04 21:07           ` mindentropy

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).