diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-02-15 16:32:42 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-02-15 16:32:42 +0000 |
commit | a1994fef1b5b6457c175d0d0c0413f7b7e27ebce (patch) | |
tree | a6960e819ce22f2d849f050cd167e5ff235fd0d4 /sys/arch/sparc/include | |
parent | 0d402694135fa414d334ec22295c382c25ee8f72 (diff) |
Use extents instead of rmaps to handle dvma space.
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r-- | sys/arch/sparc/include/param.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/arch/sparc/include/param.h b/sys/arch/sparc/include/param.h index 84812a39f86..d0480956b16 100644 --- a/sys/arch/sparc/include/param.h +++ b/sys/arch/sparc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.12 1999/11/25 08:46:44 art Exp $ */ +/* $OpenBSD: param.h,v 1.13 2000/02/15 16:32:41 art Exp $ */ /* $NetBSD: param.h,v 1.29 1997/03/10 22:50:37 pk Exp $ */ /* @@ -171,13 +171,7 @@ extern int nbpg, pgofset, pgshift; #ifndef _LOCORE extern vaddr_t dvma_base; extern vaddr_t dvma_end; -extern struct map *dvmamap; -/* - * The dvma resource map is defined in page units, which are numbered 1 to N. - * Use these macros to convert to/from virtual addresses. - */ -#define rctov(n) (ctob(((n)-1))+dvma_base) -#define vtorc(v) ((btoc((v)-dvma_base))+1) +extern struct extent *dvmamap_extent; extern caddr_t kdvma_mapin __P((caddr_t, int, int)); extern caddr_t dvma_malloc __P((size_t, void *, int)); |