Regarding enable paging code and swapper_pg_dir.
April 1, 2011
8:07 p.m.
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.
5614
Age (days ago)
5614
Last active (days ago)
0 comments
1 participants
participants (1)
-
mindentropy