mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Manage state-valid.
"go" can be done only if init-program has set state-valid to true. Signed-off-by: Laurent Vivier <Laurent@vivier.eu> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@587 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -50,6 +50,8 @@ elf_loader_init_program( void *dummy )
|
||||
size_t size;
|
||||
char *addr;
|
||||
|
||||
feval("0 state-valid !");
|
||||
|
||||
feval("load-base");
|
||||
base = (char*)POP();
|
||||
|
||||
@@ -78,6 +80,7 @@ elf_loader_init_program( void *dummy )
|
||||
/* FIXME: should initialize saved-program-state. */
|
||||
PUSH(ehdr->e_entry);
|
||||
feval("elf-entry !");
|
||||
feval("-1 state-valid !");
|
||||
}
|
||||
|
||||
NODE_METHODS( elf_loader ) = {
|
||||
|
||||
Reference in New Issue
Block a user