Module Name:    src
Committed By:   matt
Date:           Thu Jun 11 15:11:14 UTC 2015

Modified Files:
        src/sys/arch/evbsh3/include: kloader.h
        src/sys/arch/landisk/include: kloader.h
        src/sys/arch/playstation2/include: kloader.h
        src/sys/arch/zaurus/include: kloader.h

Log Message:
Declare or #define avail_start and avail_end as appropriate


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbsh3/include/kloader.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/landisk/include/kloader.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/playstation2/include/kloader.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/zaurus/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/evbsh3/include/kloader.h
diff -u src/sys/arch/evbsh3/include/kloader.h:1.1 src/sys/arch/evbsh3/include/kloader.h:1.2
--- src/sys/arch/evbsh3/include/kloader.h:1.1	Tue Apr  6 15:54:30 2010
+++ src/sys/arch/evbsh3/include/kloader.h	Thu Jun 11 15:11:13 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: kloader.h,v 1.1 2010/04/06 15:54:30 nonaka Exp $	*/
+/*	$NetBSD: kloader.h,v 1.2 2015/06/11 15:11:13 matt Exp $	*/
 
 /*-
  * Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
@@ -32,6 +32,7 @@
 #define PG_VADDR(pg)	SH3_PHYS_TO_P1SEG(VM_PAGE_TO_PHYS(pg))
 
 #define	KLOADER_NO_BOOTINFO
+extern paddr_t avail_start, avail_end;
 
 #include <dev/kloader.h>
 

Index: src/sys/arch/landisk/include/kloader.h
diff -u src/sys/arch/landisk/include/kloader.h:1.2 src/sys/arch/landisk/include/kloader.h:1.3
--- src/sys/arch/landisk/include/kloader.h:1.2	Mon Apr 28 20:23:26 2008
+++ src/sys/arch/landisk/include/kloader.h	Thu Jun 11 15:11:14 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: kloader.h,v 1.2 2008/04/28 20:23:26 martin Exp $	*/
+/*	$NetBSD: kloader.h,v 1.3 2015/06/11 15:11:14 matt Exp $	*/
 
 /*-
  * Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
@@ -30,6 +30,7 @@
 #define	_LANDISK_KLOADER_H_
 
 #define PG_VADDR(pg)	SH3_PHYS_TO_P1SEG(VM_PAGE_TO_PHYS(pg))
+extern paddr_t avail_start, avail_end;
 
 #include <dev/kloader.h>
 

Index: src/sys/arch/playstation2/include/kloader.h
diff -u src/sys/arch/playstation2/include/kloader.h:1.5 src/sys/arch/playstation2/include/kloader.h:1.6
--- src/sys/arch/playstation2/include/kloader.h:1.5	Mon Mar 31 11:25:49 2014
+++ src/sys/arch/playstation2/include/kloader.h	Thu Jun 11 15:11:14 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: kloader.h,v 1.5 2014/03/31 11:25:49 martin Exp $	*/
+/*	$NetBSD: kloader.h,v 1.6 2015/06/11 15:11:14 matt Exp $	*/
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -30,3 +30,7 @@
 #define	KLOADER_NO_BOOTINFO
 #define PG_VADDR(pg)	MIPS_PHYS_TO_KSEG0(VM_PAGE_TO_PHYS(pg))
 #include <dev/kloader.h>
+
+/* XXX: kludge: MI kloader.c assumes avail_start and avail_end are common */
+#define avail_start	pmap_limits.avail_start
+#define avail_end	pmap_limits.avail_end

Index: src/sys/arch/zaurus/include/kloader.h
diff -u src/sys/arch/zaurus/include/kloader.h:1.1 src/sys/arch/zaurus/include/kloader.h:1.2
--- src/sys/arch/zaurus/include/kloader.h:1.1	Wed Mar 11 09:02:04 2009
+++ src/sys/arch/zaurus/include/kloader.h	Thu Jun 11 15:11:14 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: kloader.h,v 1.1 2009/03/11 09:02:04 nonaka Exp $	*/
+/*	$NetBSD: kloader.h,v 1.2 2015/06/11 15:11:14 matt Exp $	*/
 
 /*-
  * Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
@@ -44,6 +44,7 @@
 
 #define PG_VADDR(pg)	kloader_phystov(VM_PAGE_TO_PHYS(pg))
 vaddr_t kloader_phystov(paddr_t pa);
+extern paddr_t avail_start, avail_end;
 
 #include <dev/kloader.h>
 

Reply via email to