CVS commit: src/sys/arch/macppc/include

2021-02-12 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb 12 23:38:17 UTC 2021

Modified Files:
src/sys/arch/macppc/include: autoconf.h

Log Message:
No need for a prototype of ofbcopy() here.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/macppc/include/autoconf.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/macppc/include/autoconf.h
diff -u src/sys/arch/macppc/include/autoconf.h:1.20 src/sys/arch/macppc/include/autoconf.h:1.21
--- src/sys/arch/macppc/include/autoconf.h:1.20	Tue Jul  7 02:33:54 2020
+++ src/sys/arch/macppc/include/autoconf.h	Fri Feb 12 23:38:17 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.h,v 1.20 2020/07/07 02:33:54 rin Exp $	*/
+/*	$NetBSD: autoconf.h,v 1.21 2021/02/12 23:38:17 thorpej Exp $	*/
 
 /*-
  * Copyright (C) 1998	Internet Research Institute, Inc.
@@ -51,7 +51,6 @@ struct confargs {
 };
 
 /* there are in locore.S */
-void ofbcopy(const void *, void *, size_t);
 int badaddr(volatile void *, int);
 
 /* these are in clock.c */



CVS commit: src/sys/arch/macppc/include

2021-02-12 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb 12 23:38:17 UTC 2021

Modified Files:
src/sys/arch/macppc/include: autoconf.h

Log Message:
No need for a prototype of ofbcopy() here.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/macppc/include/autoconf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/macppc/include

2019-10-24 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Oct 24 23:04:46 UTC 2019

Modified Files:
src/sys/arch/macppc/include: cpu.h

Log Message:
bump CPU_MAXNUM to 4, hardware exists and is being asked about on port-macppc@


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/macppc/include/cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/macppc/include

2019-10-24 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Oct 24 23:04:46 UTC 2019

Modified Files:
src/sys/arch/macppc/include: cpu.h

Log Message:
bump CPU_MAXNUM to 4, hardware exists and is being asked about on port-macppc@


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/macppc/include/cpu.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/macppc/include/cpu.h
diff -u src/sys/arch/macppc/include/cpu.h:1.20 src/sys/arch/macppc/include/cpu.h:1.21
--- src/sys/arch/macppc/include/cpu.h:1.20	Fri Mar 16 22:08:53 2018
+++ src/sys/arch/macppc/include/cpu.h	Thu Oct 24 23:04:46 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpu.h,v 1.20 2018/03/16 22:08:53 macallan Exp $	*/
+/*	$NetBSD: cpu.h,v 1.21 2019/10/24 23:04:46 macallan Exp $	*/
 
 /*
  * Copyright (C) 1995-1997 Wolfgang Solfrank.
@@ -34,7 +34,7 @@
 #define	_MACPPC_CPU_H_
 
 #if defined(_KERNEL) && !defined(_MODULE)
-#define	CPU_MAXNUM	2
+#define	CPU_MAXNUM	4
 extern char bootpath[];
 int get_cpuid(int, uint8_t *);
 #endif /* _KERNEL */



CVS commit: src/sys/arch/macppc/include

2018-04-26 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Apr 26 18:33:02 UTC 2018

Modified Files:
src/sys/arch/macppc/include: param.h

Log Message:
bump message buffer size


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/macppc/include/param.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/macppc/include/param.h
diff -u src/sys/arch/macppc/include/param.h:1.20 src/sys/arch/macppc/include/param.h:1.21
--- src/sys/arch/macppc/include/param.h:1.20	Sun Sep 23 22:31:38 2012
+++ src/sys/arch/macppc/include/param.h	Thu Apr 26 18:33:02 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.20 2012/09/23 22:31:38 mrg Exp $	*/
+/*	$NetBSD: param.h,v 1.21 2018/04/26 18:33:02 macallan Exp $	*/
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -43,7 +43,7 @@
  * 4KB isn't enough for a full boot message for a macppc system anymore
  */
 #ifndef MSGBUFSIZE
-#define	MSGBUFSIZE		(3*NBPG)
+#define	MSGBUFSIZE		(8*NBPG)
 #endif
 
 #endif /* _KERNEL && !_MODULE */



CVS commit: src/sys/arch/macppc/include

2018-04-26 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Apr 26 18:33:02 UTC 2018

Modified Files:
src/sys/arch/macppc/include: param.h

Log Message:
bump message buffer size


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/macppc/include/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/macppc/include

2013-05-12 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Mon May 13 00:21:56 UTC 2013

Modified Files:
src/sys/arch/macppc/include: powerpc.h

Log Message:
get rid of mem_region.start_hi - if we can deal with 64bit addresses then
paddr_t is already 64bit anyway


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/macppc/include/powerpc.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/macppc/include/powerpc.h
diff -u src/sys/arch/macppc/include/powerpc.h:1.7 src/sys/arch/macppc/include/powerpc.h:1.8
--- src/sys/arch/macppc/include/powerpc.h:1.7	Sat Mar 14 14:46:02 2009
+++ src/sys/arch/macppc/include/powerpc.h	Mon May 13 00:21:56 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: powerpc.h,v 1.7 2009/03/14 14:46:02 dsl Exp $	*/
+/*	$NetBSD: powerpc.h,v 1.8 2013/05/13 00:21:56 macallan Exp $	*/
 
 /*
  * Copyright (C) 1996 Wolfgang Solfrank.
@@ -34,9 +34,6 @@
 #define	_MACHINE_POWERPC_H_
 
 struct mem_region {
-#if defined (PMAC_G5)
-	paddr_t start_hi;
-#endif
 	paddr_t start;
 	psize_t size;
 }__attribute__((packed));



CVS commit: src/sys/arch/macppc/include

2013-05-12 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Mon May 13 00:21:56 UTC 2013

Modified Files:
src/sys/arch/macppc/include: powerpc.h

Log Message:
get rid of mem_region.start_hi - if we can deal with 64bit addresses then
paddr_t is already 64bit anyway


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/macppc/include/powerpc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/macppc/include

2013-04-20 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sat Apr 20 13:32:40 UTC 2013

Modified Files:
src/sys/arch/macppc/include: intr.h

Log Message:
bump ICU_LEN
from Phileas Fogg


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/macppc/include/intr.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/macppc/include/intr.h
diff -u src/sys/arch/macppc/include/intr.h:1.31 src/sys/arch/macppc/include/intr.h:1.32
--- src/sys/arch/macppc/include/intr.h:1.31	Thu Apr 18 16:42:46 2013
+++ src/sys/arch/macppc/include/intr.h	Sat Apr 20 13:32:40 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.h,v 1.31 2013/04/18 16:42:46 macallan Exp $	*/
+/*	$NetBSD: intr.h,v 1.32 2013/04/20 13:32:40 macallan Exp $	*/
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #ifndef _LOCORE
 
-#define ICU_LEN		64
+#define ICU_LEN		128
 
 #ifdef MULTIPROCESSOR
 struct cpu_info;



CVS commit: src/sys/arch/macppc/include

2013-04-20 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sat Apr 20 13:32:40 UTC 2013

Modified Files:
src/sys/arch/macppc/include: intr.h

Log Message:
bump ICU_LEN
from Phileas Fogg


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/macppc/include/intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/macppc/include

2012-10-01 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Mon Oct  1 17:32:28 UTC 2012

Modified Files:
src/sys/arch/macppc/include: apmvar.h

Log Message:
Remove 'struct apm_connect_info' - part of the i386 APM bios interface.
There are no references to it anywhere in all of $SRC.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/macppc/include/apmvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/macppc/include

2011-07-27 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jul 28 01:24:31 UTC 2011

Modified Files:
src/sys/arch/macppc/include: param.h

Log Message:
hiding PCI_MAGIC_IO_RANGE from userland is counter-productive


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/macppc/include/param.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/macppc/include/param.h
diff -u src/sys/arch/macppc/include/param.h:1.17 src/sys/arch/macppc/include/param.h:1.18
--- src/sys/arch/macppc/include/param.h:1.17	Mon Jun 20 06:29:53 2011
+++ src/sys/arch/macppc/include/param.h	Thu Jul 28 01:24:31 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.17 2011/06/20 06:29:53 matt Exp $	*/
+/*	$NetBSD: param.h,v 1.18 2011/07/28 01:24:31 macallan Exp $	*/
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -53,9 +53,9 @@
 #define	NKMEMPAGES_MIN_DEFAULT		((8 * 1024 * 1024)  PAGE_SHIFT)
 #define	NKMEMPAGES_MAX_DEFAULT		((48 * 1024 * 1024)  PAGE_SHIFT)
 
-/* at this offset we mmap() the PCI IO range in display drivers */
-#define PCI_MAGIC_IO_RANGE		0xf200
-
 #endif /* _KERNEL  !_MODULE */
 
+/* at this offset we mmap() the PCI IO range in display drivers */
+#define PCI_MAGIC_IO_RANGE  0xf200
+
 #include powerpc/param.h



CVS commit: src/sys/arch/macppc/include

2011-07-27 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jul 28 01:24:31 UTC 2011

Modified Files:
src/sys/arch/macppc/include: param.h

Log Message:
hiding PCI_MAGIC_IO_RANGE from userland is counter-productive


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/macppc/include/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/macppc/include

2011-06-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Jun 17 05:18:10 UTC 2011

Modified Files:
src/sys/arch/macppc/include: intr.h

Log Message:
Make _LOCORE exclude more stuff.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/macppc/include/intr.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/macppc/include/intr.h
diff -u src/sys/arch/macppc/include/intr.h:1.28 src/sys/arch/macppc/include/intr.h:1.29
--- src/sys/arch/macppc/include/intr.h:1.28	Sun Jun  5 16:52:23 2011
+++ src/sys/arch/macppc/include/intr.h	Fri Jun 17 05:18:10 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.h,v 1.28 2011/06/05 16:52:23 matt Exp $	*/
+/*	$NetBSD: intr.h,v 1.29 2011/06/17 05:18:10 matt Exp $	*/
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -48,7 +48,6 @@
 #include powerpc/pic/ipivar.h
 #endif /* MULTIPROCESSOR */
 
-#endif /* _LOCORE */
 
 #ifdef _KERNEL
 
@@ -58,5 +57,6 @@
 int init_grandcentral(void);
 void setup_hammerhead_ipi(void);
 #endif
+#endif /* _LOCORE */
 
 #endif /* _MACPPC_INTR_H_ */



CVS commit: src/sys/arch/macppc/include

2011-06-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Jun 17 05:18:10 UTC 2011

Modified Files:
src/sys/arch/macppc/include: intr.h

Log Message:
Make _LOCORE exclude more stuff.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/macppc/include/intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.