mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Enable (go) for SPARC64 and also force register o0 to be 0 as detailed in the OF specification.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@729 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
bedc10adae
commit
8cfdbc4b3d
@@ -125,6 +125,7 @@ uint64_t start_client_image(uint64_t entry_point, uint64_t cif_handler)
|
||||
ctx = init_context(image_stack, sizeof image_stack, 0);
|
||||
ctx->pc = entry_point;
|
||||
ctx->npc = entry_point+4;
|
||||
ctx->regs[REG_O0] = 0;
|
||||
ctx->regs[REG_O0+4] = cif_handler;
|
||||
|
||||
ctx = switch_to(ctx);
|
||||
|
||||
@@ -480,6 +480,7 @@ arch_init( void )
|
||||
device_end();
|
||||
|
||||
bind_func("platform-boot", boot );
|
||||
bind_func("(go)", go);
|
||||
}
|
||||
|
||||
unsigned long isa_io_base;
|
||||
|
||||
Reference in New Issue
Block a user