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

@@ -19,10 +19,10 @@
#include "boot.h"
struct sys_info sys_info;
void *boot_notes = NULL;
static int try_path(const char *path, char *param)
{
void *boot_notes = NULL;
ucell valid;
#ifdef CONFIG_LOADER_ELF
@@ -91,6 +91,11 @@ void go(void)
switch (type) {
case 0x0:
/* Start ELF boot image */
image_retval = start_elf(address, (uint32_t)&boot_notes);
break;
case 0x1:
/* Start ELF image */
image_retval = start_elf(address, (uint32_t)NULL);
break;