* [TRIVIAL] Better docs for boot-up code
@ 2003-05-05 4:58 Rusty Trivial Russell
0 siblings, 0 replies; only message in thread
From: Rusty Trivial Russell @ 2003-05-05 4:58 UTC (permalink / raw)
To: torvalds, linux-kernel
From: Pavel Machek <pavel@ucw.cz>
Hi!
This adds some nice docs for boot-up code. Please apply,
Pavel
Index: linux/arch/i386/boot/setup.S
===================================================================
--- trivial-2.5.69/arch/i386/boot/setup.S.orig 2003-05-05 14:46:23.000000000 +1000
+++ trivial-2.5.69/arch/i386/boot/setup.S 2003-05-05 14:46:23.000000000 +1000
@@ -893,6 +893,9 @@
movw %cs, %si
subw $DELTA_INITSEG, %si
shll $4, %esi # Convert to 32-bit pointer
+
+# jump to startup_32 in arch/i386/kernel/head.S
+#
# NOTE: For high loaded big kernels we need a
# jmpi 0x100000,__BOOT_CS
#
--- trivial-2.5.69/arch/i386/kernel/trampoline.S.orig 2003-05-05 14:46:23.000000000 +1000
+++ trivial-2.5.69/arch/i386/kernel/trampoline.S 2003-05-05 14:46:23.000000000 +1000
@@ -4,6 +4,8 @@
*
* 4 Jan 1997 Michael Chastain: changed to gnu as.
*
+ * This is only used for booting secondary CPUs in SMP machine
+ *
* Entry: CS:IP point to the start of our code, we are
* in real mode with no stack, but the rest of the
* trampoline page to make our stack and everything else
--
What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
Don't blame me: the Monkey is driving
File: Pavel Machek <pavel@ucw.cz>: Better docs for boot-up code
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-05 4:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-05 4:58 [TRIVIAL] Better docs for boot-up code Rusty Trivial Russell
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).