summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-09-22 21:03:56 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-09-22 21:03:56 +0000
commit60c917af1be71e4f6fe743e0586d4f67f9d3db8e (patch)
tree39163a31e2df6d8e63d92b13925696e827aff000 /sys/dev
parent5e4b014712c2454a243e3ce76e5cefe718a93d8a (diff)
Use vm_page_alloc_memory API. Some cleanup.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/isadmavar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isa/isadmavar.h b/sys/dev/isa/isadmavar.h
index 20334013d6e..aa5d1b6bce1 100644
--- a/sys/dev/isa/isadmavar.h
+++ b/sys/dev/isa/isadmavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: isadmavar.h,v 1.5 1996/11/29 22:55:02 niklas Exp $ */
+/* $OpenBSD: isadmavar.h,v 1.6 1997/09/22 21:03:52 niklas Exp $ */
/* $NetBSD: isadmavar.h,v 1.4 1996/03/01 04:08:46 mycroft Exp $ */
#define DMAMODE_WRITE 0
@@ -19,6 +19,9 @@ struct isadma_seg { /* a physical contiguous segment */
vm_size_t length; /* length of this segment (bytes) */
};
+vm_offset_t isadma_alloc __P((vm_size_t, vm_offset_t, int));
+caddr_t isadma_vaddr __P((vm_offset_t));
+void isadma_free __P((vm_offset_t, vm_size_t));
int isadma_map __P((caddr_t, vm_size_t, struct isadma_seg *, int));
void isadma_unmap __P((caddr_t, vm_size_t, int, struct isadma_seg *));
void isadma_copytobuf __P((caddr_t, vm_size_t, int, struct isadma_seg *));