Commit 81dcad97 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] Better docs for boot-up code

From:  Pavel Machek <pavel@ucw.cz>

  This adds some more commentary to the boot-up code.
parent d4e64319
...@@ -893,6 +893,9 @@ flush_instr: ...@@ -893,6 +893,9 @@ flush_instr:
movw %cs, %si movw %cs, %si
subw $DELTA_INITSEG, %si subw $DELTA_INITSEG, %si
shll $4, %esi # Convert to 32-bit pointer 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 # NOTE: For high loaded big kernels we need a
# jmpi 0x100000,__BOOT_CS # jmpi 0x100000,__BOOT_CS
# #
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
* *
* 4 Jan 1997 Michael Chastain: changed to gnu as. * 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 * Entry: CS:IP point to the start of our code, we are
* in real mode with no stack, but the rest of the * in real mode with no stack, but the rest of the
* trampoline page to make our stack and everything else * trampoline page to make our stack and everything else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment