From: H. Peter Anvin Date: Wed, 30 Jan 2008 12:33:01 +0000 (+0100) Subject: x86 setup: make PM transition more paranoid; cleanup 32-bit entry X-Git-Tag: v2.6.25-rc1~1143^2~335 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4d9ba6da9f050ebb7e0d70769e3dca0fd45334f;p=pandora-kernel.git x86 setup: make PM transition more paranoid; cleanup 32-bit entry Make the transition to protected mode more paranoid by having back-to-back near jump (to synchronize the 386/486 prefetch queue) and far jump (to set up the code segment.) While we're at it, zero as many registers as practical (for future expandability of the 32-bit entry interface) and enter 32-bit mode with a valid stack. Note that the 32-bit code cannot rely on this stack, or we'll break all other existing users of the 32-bit entrypoint, but it may make debugging hacks easier to write. Signed-off-by: H. Peter Anvin Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed