Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/ifpga Make this compile with strict prototypes.
details: https://anonhg.NetBSD.org/src/rev/abbd044fe07d
branches: trunk
changeset: 537850:abbd044fe07d
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Oct 06 17:13:58 2002 +0000
description:
Make this compile with strict prototypes.
diffstat:
sys/arch/evbarm/ifpga/ifpga_io.c | 4 +++-
sys/arch/evbarm/ifpga/ifpga_irqhandler.c | 4 +++-
sys/arch/evbarm/ifpga/ifpgavar.h | 4 +++-
3 files changed, 9 insertions(+), 3 deletions(-)
diffs (51 lines):
diff -r 63cfa6b53e11 -r abbd044fe07d sys/arch/evbarm/ifpga/ifpga_io.c
--- a/sys/arch/evbarm/ifpga/ifpga_io.c Sun Oct 06 17:13:24 2002 +0000
+++ b/sys/arch/evbarm/ifpga/ifpga_io.c Sun Oct 06 17:13:58 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ifpga_io.c,v 1.3 2002/09/27 15:35:59 provos Exp $ */
+/* $NetBSD: ifpga_io.c,v 1.4 2002/10/06 17:13:58 thorpej Exp $ */
/*
* Copyright (c) 1997 Causality Limited
@@ -45,6 +45,8 @@
#include <machine/bus.h>
#include <uvm/uvm_extern.h>
+#include <evbarm/ifpga/ifpgavar.h>
+
/* Proto types for all the bus_space structure functions */
bs_protos(ifpga);
diff -r 63cfa6b53e11 -r abbd044fe07d sys/arch/evbarm/ifpga/ifpga_irqhandler.c
--- a/sys/arch/evbarm/ifpga/ifpga_irqhandler.c Sun Oct 06 17:13:24 2002 +0000
+++ b/sys/arch/evbarm/ifpga/ifpga_irqhandler.c Sun Oct 06 17:13:58 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ifpga_irqhandler.c,v 1.3 2002/09/27 15:35:59 provos Exp $ */
+/* $NetBSD: ifpga_irqhandler.c,v 1.4 2002/10/06 17:13:58 thorpej Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -104,6 +104,8 @@
enable_interrupts(I32_bit | F32_bit);
}
+void stray_irqhandler(void); /* only called from ifpga_irq.S */
+
void
stray_irqhandler()
{
diff -r 63cfa6b53e11 -r abbd044fe07d sys/arch/evbarm/ifpga/ifpgavar.h
--- a/sys/arch/evbarm/ifpga/ifpgavar.h Sun Oct 06 17:13:24 2002 +0000
+++ b/sys/arch/evbarm/ifpga/ifpgavar.h Sun Oct 06 17:13:58 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ifpgavar.h,v 1.1 2001/10/27 16:19:09 rearnsha Exp $ */
+/* $NetBSD: ifpgavar.h,v 1.2 2002/10/06 17:13:58 thorpej Exp $ */
/*
* Copyright (c) 2001 ARM Ltd
@@ -79,3 +79,5 @@
void ifpga_create_io_bs_tag(struct bus_space *, void *);
void ifpga_create_mem_bs_tag(struct bus_space *, void *);
+
+void ifpga_reset(void);
Home |
Main Index |
Thread Index |
Old Index