Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/playstation2 Add missing includes



details:   https://anonhg.NetBSD.org/src/rev/19b61bbb2d64
branches:  trunk
changeset: 814670:19b61bbb2d64
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Apr 03 10:03:34 2016 +0000

description:
Add missing includes

diffstat:

 sys/arch/playstation2/ee/dmacreg.h             |  4 +++-
 sys/arch/playstation2/ee/eevar.h               |  4 +++-
 sys/arch/playstation2/playstation2/interrupt.h |  4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diffs (55 lines):

diff -r 65435b01b5ea -r 19b61bbb2d64 sys/arch/playstation2/ee/dmacreg.h
--- a/sys/arch/playstation2/ee/dmacreg.h        Sun Apr 03 10:03:04 2016 +0000
+++ b/sys/arch/playstation2/ee/dmacreg.h        Sun Apr 03 10:03:34 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dmacreg.h,v 1.4 2014/03/31 11:25:49 martin Exp $       */
+/*     $NetBSD: dmacreg.h,v 1.5 2016/04/03 10:03:34 martin Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <mips/cpuregs.h>
+
 typedef u_int64_t dmatag_t;
 
 #define DMAC_BLOCK_SIZE                16
diff -r 65435b01b5ea -r 19b61bbb2d64 sys/arch/playstation2/ee/eevar.h
--- a/sys/arch/playstation2/ee/eevar.h  Sun Apr 03 10:03:04 2016 +0000
+++ b/sys/arch/playstation2/ee/eevar.h  Sun Apr 03 10:03:34 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eevar.h,v 1.4 2014/03/31 11:25:49 martin Exp $ */
+/*     $NetBSD: eevar.h,v 1.5 2016/04/03 10:03:34 martin Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -34,7 +34,9 @@
  */
 
 #define _PLAYSTATION2_BUS_SPACE_PRIVATE
+
 #include <machine/bus.h>
+#include <mips/cpuregs.h>
 
 #define _reg_read_1(a)         __read_1(a)
 #define _reg_read_2(a)         __read_2(a)
diff -r 65435b01b5ea -r 19b61bbb2d64 sys/arch/playstation2/playstation2/interrupt.h
--- a/sys/arch/playstation2/playstation2/interrupt.h    Sun Apr 03 10:03:04 2016 +0000
+++ b/sys/arch/playstation2/playstation2/interrupt.h    Sun Apr 03 10:03:34 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interrupt.h,v 1.6 2014/07/04 07:27:28 martin Exp $     */
+/*     $NetBSD: interrupt.h,v 1.7 2016/04/03 10:03:34 martin Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -26,6 +26,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <sys/evcnt.h>
+
 enum ipl_type {
        IPL_INTC,
        IPL_DMAC,



Home | Main Index | Thread Index | Old Index