Revert lguest magic and use hook in head.S
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Oct 2007 01:29:44 +0000 (11:29 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Oct 2007 05:49:57 +0000 (15:49 +1000)
commit814a0e5cdfbd384f4bf7a8443f9c3b885f413d58
tree4cb82a6ec1db54ce00fbc3700762cd3dc46a0b4e
parent1f5a29022ac66bc90cbe2a2162f56e9cd7b393ef
Revert lguest magic and use hook in head.S

Version 2.07 of the boot protocol uses 0x23C for the hardware_subarch
field, that for lguest is "1".  This allows us to use the standard
boot entry point rather than the "GenuineLguest" string hack.

The standard entry point also clears the BSS and copies the boot parameters
and commandline for us, saving more code.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Documentation/lguest/lguest.c
arch/x86/lguest/boot.c
arch/x86/lguest/i386_head.S