From ff220a1322e347724250c6b107a8f1f65314aa4f Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 8 Jul 2007 19:56:05 +0000 Subject: [PATCH] Fix nvram size, arch_init hack git-svn-id: svn://coreboot.org/openbios/openbios-devel@160 f158a5a8-5612-0410-a976-696ce0be7e32 --- arch/sparc64/openbios.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/sparc64/openbios.c b/arch/sparc64/openbios.c index 82aabe8..2d65ab1 100644 --- a/arch/sparc64/openbios.c +++ b/arch/sparc64/openbios.c @@ -29,7 +29,10 @@ void arch_nvram_get() { } -int arch_nvram_size; +int arch_nvram_size() +{ + return 8192; +} void setup_timers() { @@ -128,5 +131,7 @@ int openbios(void) #endif enterforth((xt_t)PC); + arch_init(); // XXX + printk("falling off...\n"); return 0; }