Now that we have a C version of go available, rework client.fs so that it will automatically detect if a platform has execution

capability based upon the existence of the lower level (go) word. Also add standard ELF image support to (go) for SPARC32, 
SPARC64 and x86.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@728 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-04-02 14:03:38 +00:00
committed by Mark Cave-Ayland
parent a025a2e653
commit bedc10adae
4 changed files with 30 additions and 19 deletions

View File

@@ -107,6 +107,13 @@ void go(void)
break;
case 0x1:
/* Start ELF image */
entry = (void *) address;
image_retval = entry(romvec, 0, 0, 0, 0);
break;
case 0x5:
/* Start a.out image */
entry = (void *) address;