Messages in this thread |  | | Date | Sat, 27 Apr 2002 04:53:15 +0000 | From | Pavel Machek <> | Subject | Re: [PATCH 2.5.12] x86 Boot enhancements, 32bit entries 6/11 |
| |
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/
|  |