[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <472F61C8.4040300@zytor.com>
Date: Mon, 05 Nov 2007 10:32:40 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Mikael Petterson <mikpe@...uu.se>,
Eric Biederman <ebiederm@...ssion.com>,
Jeremy Fitzhardinge <jeremy@...p.org>
Subject: Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
Linus Torvalds wrote:
>
> Final comment: shouldn't we set up %esp to be correct for the new %ss too?
>
Well, the 32-bit code needs to set up its own stack, and only it knows
where it wants its stack; we don't guarantee that the stack is valid
when we enter the 32-bit code and we're entering with both INT and NMI
disabled (requiring a stack would probably break all existing users of
the 32-bit entrypoint.)
However, that being said, doing so is trivial, and it might help some
debugging hack; anything that makes debugging easier is a Good Thing[TM].
-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists