lkml.org 
[lkml]   [2012]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectwby mapping beyond end by "MAPPING_BEYOND_END" ?
From
Hi All,

For x86, in arch/x86/kernel/head_32.S, for Initializing page tables,
why mapping beyond end by "MAPPING_BEYOND_END":

/*
* End condition: we must map up to the end + MAPPING_BEYOND_END.
*/
movl $pa(_end) + MAPPING_BEYOND_END + PTE_IDENT_ATTR, %ebp
cmpl %ebp,%eax
jb 10b

According vmlinux.lds.S, the paging table is between __brk_base and
_end. So why map MAPPING_BEYOND_END after _end ?

Regards,
Jacky


\
 
 \ /
  Last update: 2012-12-21 08:42    [W:0.030 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site