Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/amiga Make it compile without options M68040 ...
details: https://anonhg.NetBSD.org/src/rev/3b82528efe08
branches: trunk
changeset: 760883:3b82528efe08
user: phx <phx%NetBSD.org@localhost>
date: Sat Jan 15 21:56:53 2011 +0000
description:
Make it compile without options M68040 and M68060.
diffstat:
sys/arch/amiga/amiga/amiga_init.c | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r 5ce09e9a9b40 -r 3b82528efe08 sys/arch/amiga/amiga/amiga_init.c
--- a/sys/arch/amiga/amiga/amiga_init.c Sat Jan 15 20:16:57 2011 +0000
+++ b/sys/arch/amiga/amiga/amiga_init.c Sat Jan 15 21:56:53 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amiga_init.c,v 1.121 2011/01/02 18:48:04 tsutsui Exp $ */
+/* $NetBSD: amiga_init.c,v 1.122 2011/01/15 21:56:53 phx Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@@ -37,7 +37,7 @@
#include "opt_m68k_arch.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.121 2011/01/02 18:48:04 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.122 2011/01/15 21:56:53 phx Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -207,12 +207,15 @@
psize_t ptsize;
u_int ptextra, kstsize;
paddr_t Sysptmap_pa;
- register st_entry_t sg_proto, *sg, *esg;
+ register st_entry_t sg_proto, *sg;
+#if defined(M68040) || defined(M68060)
+ register st_entry_t *esg;
+#endif
register pt_entry_t pg_proto, *pg, *epg;
vaddr_t end_loaded;
- u_int ncd, i;
+ u_int ncd;
#if defined(M68040) || defined(M68060)
- u_int nl1desc, nl2desc;
+ u_int i, nl1desc, nl2desc;
#endif
vaddr_t kva;
struct boot_memlist *ml;
Home |
Main Index |
Thread Index |
Old Index