aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/setup.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-06-25 00:19:18 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 07:11:06 -0400
commitf97013fd8f17120182aa247f360e4d2069a9db9c (patch)
tree70ed1ddbc6dac614eb71ec8ddb830c8022e3cac3 /include/asm-x86/setup.h
parent408011759cc8ff7f89505e8398cec0ccf67b5afa (diff)
x86, 64-bit: split x86_64_start_kernel
Split x86_64_start_kernel() into two pieces: The first essentially cleans up after head_64.S. It clears the bss, zaps low identity mappings, sets up some early exception handlers. The second part preserves the boot data, reserves the kernel's text/data/bss, pagetables and ramdisk, and then starts the kernel proper. This split is so that Xen can call the second part to do the set up it needs done. It doesn't need any of the first part setups, because it doesn't boot via head_64.S, and its redundant or actively damaging. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: xen-devel <xen-devel@lists.xensource.com> Cc: Stephen Tweedie <sct@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/setup.h')
-rw-r--r--include/asm-x86/setup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h
index 42bc62b4b70c..1d121c632d9e 100644
--- a/include/asm-x86/setup.h
+++ b/include/asm-x86/setup.h
@@ -58,6 +58,8 @@ extern unsigned long init_pg_tables_end;
58 58
59#else 59#else
60void __init x86_64_start_kernel(char *real_mode); 60void __init x86_64_start_kernel(char *real_mode);
61void __init x86_64_start_reservations(char *real_mode_data);
62
61#endif /* __i386__ */ 63#endif /* __i386__ */
62#endif /* _SETUP */ 64#endif /* _SETUP */
63#endif /* __ASSEMBLY__ */ 65#endif /* __ASSEMBLY__ */