Prototype dvma helper functions `dvma_malloc()/dvma_free()'
This commit is contained in:
parent
89f8e05c10
commit
51c8280df1
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: param.h,v 1.17 1995/12/06 22:35:54 pk Exp $ */
|
||||
/* $NetBSD: param.h,v 1.18 1995/12/11 12:25:22 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -181,6 +181,8 @@ extern struct map *dvmamap;
|
|||
#define vtorc(v) ((btoc((v)-dvma_base))+1)
|
||||
|
||||
extern caddr_t kdvma_mapin __P((caddr_t, int, int));
|
||||
extern caddr_t dvma_malloc __P((size_t, void *, int));
|
||||
extern void dvma_free __P((caddr_t, size_t, void *));
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vmparam.h,v 1.7 1995/12/06 22:35:56 pk Exp $ */
|
||||
/* $NetBSD: vmparam.h,v 1.8 1995/12/11 12:25:17 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -141,6 +141,7 @@
|
|||
#define MACHINE_NONCONTIG /* VM <=> pmap interface modifier */
|
||||
|
||||
#if defined (_KERNEL) && !defined(LOCORE)
|
||||
struct vm_map;
|
||||
vm_offset_t dvma_mapin __P((struct vm_map *, vm_offset_t, int, int));
|
||||
int dvma_mapout __P((vm_offset_t, vm_offset_t, int));
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue