Module Name: src Committed By: martin Date: Sun Apr 3 10:03:34 UTC 2016
Modified Files: src/sys/arch/playstation2/ee: dmacreg.h eevar.h src/sys/arch/playstation2/playstation2: interrupt.h Log Message: Add missing includes To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/playstation2/ee/dmacreg.h \ src/sys/arch/playstation2/ee/eevar.h cvs rdiff -u -r1.6 -r1.7 src/sys/arch/playstation2/playstation2/interrupt.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/playstation2/ee/dmacreg.h diff -u src/sys/arch/playstation2/ee/dmacreg.h:1.4 src/sys/arch/playstation2/ee/dmacreg.h:1.5 --- src/sys/arch/playstation2/ee/dmacreg.h:1.4 Mon Mar 31 11:25:49 2014 +++ src/sys/arch/playstation2/ee/dmacreg.h Sun Apr 3 10:03:34 2016 @@ -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 Index: src/sys/arch/playstation2/ee/eevar.h diff -u src/sys/arch/playstation2/ee/eevar.h:1.4 src/sys/arch/playstation2/ee/eevar.h:1.5 --- src/sys/arch/playstation2/ee/eevar.h:1.4 Mon Mar 31 11:25:49 2014 +++ src/sys/arch/playstation2/ee/eevar.h Sun Apr 3 10:03:34 2016 @@ -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) Index: src/sys/arch/playstation2/playstation2/interrupt.h diff -u src/sys/arch/playstation2/playstation2/interrupt.h:1.6 src/sys/arch/playstation2/playstation2/interrupt.h:1.7 --- src/sys/arch/playstation2/playstation2/interrupt.h:1.6 Fri Jul 4 07:27:28 2014 +++ src/sys/arch/playstation2/playstation2/interrupt.h Sun Apr 3 10:03:34 2016 @@ -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,