Module Name: src
Committed By: tsutsui
Date: Wed Mar 16 13:08:22 UTC 2011
Modified Files:
src/sys/arch/hpcmips/include: kloader.h
Log Message:
Put awful kludge to make MI kloader.c link on hpcmips.
XXX: sys/dev/kloader.c should not refer avail_start and avail_end
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hpcmips/include/kloader.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hpcmips/include/kloader.h
diff -u src/sys/arch/hpcmips/include/kloader.h:1.4 src/sys/arch/hpcmips/include/kloader.h:1.5
--- src/sys/arch/hpcmips/include/kloader.h:1.4 Mon Apr 28 20:23:21 2008
+++ src/sys/arch/hpcmips/include/kloader.h Wed Mar 16 13:08:22 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: kloader.h,v 1.4 2008/04/28 20:23:21 martin Exp $ */
+/* $NetBSD: kloader.h,v 1.5 2011/03/16 13:08:22 tsutsui Exp $ */
/*-
* Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc.
@@ -30,4 +30,6 @@
#define PG_VADDR(pg) MIPS_PHYS_TO_KSEG0(VM_PAGE_TO_PHYS(pg))
-
+/* XXX: kludge: MI kloader.c assumes avail_start and avail_end are common */
+#define avail_start mips_avail_start
+#define avail_end mips_avail_end