Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/include Put awful kludge to make MI kloader...
details: https://anonhg.NetBSD.org/src/rev/5c2d16eea13b
branches: trunk
changeset: 763288:5c2d16eea13b
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Mar 16 13:08:22 2011 +0000
description:
Put awful kludge to make MI kloader.c link on hpcmips.
XXX: sys/dev/kloader.c should not refer avail_start and avail_end
diffstat:
sys/arch/hpcmips/include/kloader.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 0a2e4f1347f9 -r 5c2d16eea13b sys/arch/hpcmips/include/kloader.h
--- a/sys/arch/hpcmips/include/kloader.h Wed Mar 16 12:39:44 2011 +0000
+++ b/sys/arch/hpcmips/include/kloader.h Wed Mar 16 13:08:22 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index