diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-05-29 15:56:36 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-31 03:55:47 -0400 |
commit | f0d43100f13be0fa5bf52741d7084bb27f00e621 (patch) | |
tree | 768e44de5624e110c358ed0b5f5e6582ee2bbbea /arch/x86/kernel/head_32.S | |
parent | 3945e2c9abf8e00c2edc4aa29215ddfad1cd8cf7 (diff) |
x86: extend e820 early_res support 32bit -fix #3
introduce init_pg_table_start, so xen PV could specify the value.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/head_32.S')
-rw-r--r-- | arch/x86/kernel/head_32.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index b2cc73768a9d..bef4618feadb 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S | |||
@@ -194,6 +194,7 @@ default_entry: | |||
194 | xorl %ebx,%ebx /* %ebx is kept at zero */ | 194 | xorl %ebx,%ebx /* %ebx is kept at zero */ |
195 | 195 | ||
196 | movl $pa(pg0), %edi | 196 | movl $pa(pg0), %edi |
197 | movl %edi, pa(init_pg_tables_start) | ||
197 | movl $pa(swapper_pg_pmd), %edx | 198 | movl $pa(swapper_pg_pmd), %edx |
198 | movl $PTE_ATTR, %eax | 199 | movl $PTE_ATTR, %eax |
199 | 10: | 200 | 10: |
@@ -228,6 +229,7 @@ default_entry: | |||
228 | page_pde_offset = (__PAGE_OFFSET >> 20); | 229 | page_pde_offset = (__PAGE_OFFSET >> 20); |
229 | 230 | ||
230 | movl $pa(pg0), %edi | 231 | movl $pa(pg0), %edi |
232 | movl %edi, pa(init_pg_tables_start) | ||
231 | movl $pa(swapper_pg_dir), %edx | 233 | movl $pa(swapper_pg_dir), %edx |
232 | movl $PTE_ATTR, %eax | 234 | movl $PTE_ATTR, %eax |
233 | 10: | 235 | 10: |