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:
Mark Cave-Ayland
2010-04-02 14:14:34 +00:00
committed by Mark Cave-Ayland
parent bedc10adae
commit 8cfdbc4b3d
2 changed files with 2 additions and 0 deletions

View File

@@ -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);

View File

@@ -480,6 +480,7 @@ arch_init( void )
device_end();
bind_func("platform-boot", boot );
bind_func("(go)", go);
}
unsigned long isa_io_base;