drop most of the crappy vm86 code and replace it with a rewritten
authorStefan Reinauer <stepan@coresystems.de>
Fri, 29 May 2009 13:08:27 +0000 (13:08 +0000)
committerStefan Reinauer <stepan@openbios.org>
Fri, 29 May 2009 13:08:27 +0000 (13:08 +0000)
commitf8a5c6ec02f1e21d62756bda07f755b3a2f4865f
tree8b3a82e4c402666fe2d4c195f277b30d60b4cc05
parent43bc5a9c74c701b2a13dbe603c6983a13db622da
drop most of the crappy vm86 code and replace it with a rewritten
version that has all assembler in a .S file and all C code in a .c
file. Also, remove requirement to move around between GDTs.

This version includes the suggestions from Peter to clean up CR0 manipulation
and to guard critical code paths by cli/sti. Tested and working on my hardware.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4323 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/arch/i386/lib/c_start.S