]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Better docs for boot-up code
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 26 May 2003 09:59:47 +0000 (02:59 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 26 May 2003 09:59:47 +0000 (02:59 -0700)
From:  Pavel Machek <pavel@ucw.cz>

  This adds some more commentary to the boot-up code.

arch/i386/boot/setup.S
arch/i386/kernel/trampoline.S

index ffb2dc68d0b154c5c3b4444a4cb96b05d531285d..dca9c8a72ace2fffb5a4c734ce8ff53450143ba3 100644 (file)
@@ -893,6 +893,9 @@ flush_instr:
        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
 #
index 114159b9dde0d7a3564d1abfd14795b3b54b3100..49e96832add96b89a3456a2d9e81cae95e372c19 100644 (file)
@@ -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