Allows to boot openSUSE from install CD-ROM

Implements "init-program" using loader packages
Write a first loader package: elf-loader

Signed-off-by: Laurent Vivier <Laurent@vivier.eu>



git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@578 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Laurent Vivier
2009-09-18 22:59:30 +00:00
parent 39e3ce79f3
commit 1a93a83480
5 changed files with 284 additions and 4 deletions

View File

@@ -439,6 +439,18 @@ id_cpu(void)
for (;;);
}
static void go( void );
static void
go( void )
{
ucell addr;
addr = POP();
call_elf( 0, 0, addr);
}
void
arch_of_init( void )
{
@@ -688,4 +700,5 @@ arch_of_init( void )
device_end();
bind_func("platform-boot", boot );
bind_func("(go)", go);
}