Hi!
> This patch cleans up the 32bit kernel entry points so they don't
> assume who their caller is, making them usable by other than setup.S
>
> For arch/i386/kernel/head.S this untangles the secondary cpu and the bootstrap
> entry points making the code more readable.
Hmm, but making variables called eax, ebx, ... is surely going to confuse
someone. What about bootup_eax, .. ?
> + /*
> + * Save the initial registers
> + */
> + movl %eax, eax
> + movl %ebx, ebx
> + movl %ecx, ecx
> + movl %edx, edx
> + movl %esi, esi
> + movl %edi, edi
> + movl %esp, esp
> + movl %ebp, ebp
> +
> + /*
> + * Setup the stack
> + */
> + movl stack_start, %esp
Pavel
-- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:28 EST