diff --git a/arch/x86/cachemain.c b/arch/x86/cachemain.c index 7fac12e3a5..0b5cc92e44 100644 --- a/arch/x86/cachemain.c +++ b/arch/x86/cachemain.c @@ -30,6 +30,10 @@ void console_init(void); void die(const char *msg); int find_file(struct mem_file *archive, char *filename, struct mem_file *result); +// Is this value correct? +#define DCACHE_RAM_SIZE 0x8000 + + void post_code(u8 value) { outb(value, 0x80); @@ -56,7 +60,7 @@ static void enable_rom(void) void stage1_main(u32 bist) { int ret; - struct mem_file archive, result; + struct mem_file archive; post_code(0x02); diff --git a/arch/x86/console.c b/arch/x86/console.c index ecfb660886..567e485118 100644 --- a/arch/x86/console.c +++ b/arch/x86/console.c @@ -20,7 +20,7 @@ extern int vtxprintf(void (*)(unsigned char), const char *, va_list); extern void uart8250_tx_byte(unsigned, unsigned char); -int console_loglevel() +int console_loglevel(void) { return 8; } diff --git a/util/lar/Makefile b/util/lar/Makefile index d65fc92d2c..ae7b9aca61 100644 --- a/util/lar/Makefile +++ b/util/lar/Makefile @@ -24,7 +24,7 @@ $(obj)/util/lar/lar: $(patsubst %,$(src)/util/lar/%,$(SOURCE)) $(Q)printf "Building LAR utility..." $(Q)mkdir -p $(obj)/util/lar $(Q)$(HOSTCC) $(HOSTCFLAGS) -o $@ $^ - $(Q)printf "done." + $(Q)printf "done.\n" ## --------------------------------------------------------------------