Author: blueswirl Date: 2009-08-04 22:37:36 +0200 (Tue, 04 Aug 2009) New Revision: 536
Modified: trunk/openbios-devel/arch/sparc64/boot.h trunk/openbios-devel/arch/sparc64/sys_info.c Log: Fix most Sparc64 warnings from Sparse
Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/arch/sparc64/boot.h =================================================================== --- trunk/openbios-devel/arch/sparc64/boot.h 2009-08-04 20:37:34 UTC (rev 535) +++ trunk/openbios-devel/arch/sparc64/boot.h 2009-08-04 20:37:36 UTC (rev 536) @@ -36,7 +36,7 @@ void boot(void);
// sys_info.c -extern unsigned int qemu_mem_size; +extern uint64_t qemu_mem_size;
// console.c void ob_su_init(uint64_t base, uint64_t offset, int intr);
Modified: trunk/openbios-devel/arch/sparc64/sys_info.c =================================================================== --- trunk/openbios-devel/arch/sparc64/sys_info.c 2009-08-04 20:37:34 UTC (rev 535) +++ trunk/openbios-devel/arch/sparc64/sys_info.c 2009-08-04 20:37:36 UTC (rev 536) @@ -3,6 +3,7 @@ #include "elf_boot.h" #include "sys_info.h" #include "context.h" +#include "boot.h"
#define printf printk #ifdef CONFIG_DEBUG_BOOT