mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
committed by
Mark Cave-Ayland
parent
a025a2e653
commit
bedc10adae
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user