Make cobalt build again.
This commit is contained in:
parent
f7f663c15c
commit
271741bef7
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: machdep.c,v 1.105 2009/12/14 00:46:00 matt Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.106 2009/12/16 19:01:24 matt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2006 Izumi Tsutsui. All rights reserved.
|
||||
@ -50,7 +50,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.105 2009/12/14 00:46:00 matt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.106 2009/12/16 19:01:24 matt Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_kgdb.h"
|
||||
@ -147,8 +147,6 @@ mach_init(unsigned int memsize, u_int bim, char *bip)
|
||||
{
|
||||
char *kernend;
|
||||
u_long first, last;
|
||||
struct pcb *pcb0;
|
||||
vaddr_t v;
|
||||
extern char edata[], end[];
|
||||
const char *bi_msg;
|
||||
#if NKSYMS || defined(DDB) || defined(MODULAR)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: boot.c,v 1.17 2008/05/29 14:25:00 tsutsui Exp $ */
|
||||
/* $NetBSD: boot.c,v 1.18 2009/12/16 19:01:24 matt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
@ -379,7 +379,7 @@ print_banner(unsigned int memsize)
|
||||
bootprog_name, bootprog_rev, (void*)&start);
|
||||
printf(">> (%s, %s)\n", bootprog_maker, bootprog_date);
|
||||
printf(">> Model:\t\t%s\n", cobalt_model[cobalt_id]);
|
||||
printf(">> Memory:\t\t%u k\n", (memsize - MIPS_KSEG0_START) / 1024);
|
||||
printf(">> Memory:\t\t%lu k\n", (memsize - MIPS_KSEG0_START) / 1024);
|
||||
printf(">> PROM boot string:\t%s\n", bootstring);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user