Add cdev_decl() to declare mm*() routines.

This commit is contained in:
mhitch 2000-06-29 01:55:57 +00:00
parent 7f153848ab
commit e87450fc4b
3 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mem.c,v 1.27 2000/06/26 04:55:23 simonb Exp $ */
/* $NetBSD: mem.c,v 1.28 2000/06/29 01:55:57 mhitch Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -58,6 +58,10 @@
#include <uvm/uvm_extern.h>
#define mmread mmrw
#define mmwrite mmrw
cdev_decl(mm);
extern int kernel_reload_write(struct uio *uio);
extern u_int lowram;
static caddr_t devzeropage;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mem.c,v 1.18 2000/06/26 04:55:33 simonb Exp $ */
/* $NetBSD: mem.c,v 1.19 2000/06/29 01:56:00 mhitch Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -62,6 +62,10 @@
#include "nvr.h"
#define mmread mmrw
#define mmwrite mmrw
cdev_decl(mm);
extern u_int lowram;
static caddr_t devzeropage;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mem.c,v 1.28 2000/06/26 04:55:40 simonb Exp $ */
/* $NetBSD: mem.c,v 1.29 2000/06/29 01:56:00 mhitch Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -58,6 +58,10 @@
#include <uvm/uvm_extern.h>
#define mmread mmrw
#define mmwrite mmrw
cdev_decl(mm);
extern u_int lowram;
extern char *extiobase;
static caddr_t devzeropage;