mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user