Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax Make this file compile again.
details: https://anonhg.NetBSD.org/src/rev/87987bd5e11d
branches: trunk
changeset: 493943:87987bd5e11d
user: ragge <ragge%NetBSD.org@localhost>
date: Tue Jun 27 18:38:27 2000 +0000
description:
Make this file compile again.
diffstat:
sys/arch/vax/vax/mem.c | 31 +++++++++++--------------------
1 files changed, 11 insertions(+), 20 deletions(-)
diffs (71 lines):
diff -r 2d4deb2486b6 -r 87987bd5e11d sys/arch/vax/vax/mem.c
--- a/sys/arch/vax/vax/mem.c Tue Jun 27 18:10:04 2000 +0000
+++ b/sys/arch/vax/vax/mem.c Tue Jun 27 18:38:27 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mem.c,v 1.18 2000/06/26 04:56:14 simonb Exp $ */
+/* $NetBSD: mem.c,v 1.19 2000/06/27 18:38:27 ragge Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -52,19 +52,18 @@
#include <sys/malloc.h>
#include <sys/proc.h>
-#include <machine/pte.h>
-#include <machine/mtpr.h>
-
#include <vm/vm.h>
-extern unsigned int avail_end;
-caddr_t zeropage;
+#define mmread mmrw
+#define mmwrite mmrw
+cdev_decl(mm);
+
+extern unsigned int avail_end;
+static caddr_t zeropage;
/*ARGSUSED*/
int
-mmopen(dev, flag, mode)
- dev_t dev;
- int flag, mode;
+mmopen(dev_t dev, int flag, int mode, struct proc *p)
{
return (0);
@@ -72,9 +71,7 @@
/*ARGSUSED*/
int
-mmclose(dev, flag, mode)
- dev_t dev;
- int flag, mode;
+mmclose(dev_t dev, int flag, int mode, struct proc *p)
{
return (0);
@@ -82,10 +79,7 @@
/*ARGSUSED*/
int
-mmrw(dev, uio, flags)
- dev_t dev;
- struct uio *uio;
- int flags;
+mmrw(dev_t dev, struct uio *uio, int flags)
{
register vaddr_t v;
register int c;
@@ -158,10 +152,7 @@
}
paddr_t
-mmmmap(dev, off, prot)
- dev_t dev;
- off_t off;
- int prot;
+mmmmap(dev_t dev, off_t off, int prot)
{
return (-1);
Home |
Main Index |
Thread Index |
Old Index