diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-06-01 14:36:37 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-06-01 14:36:37 +0000 |
commit | c34b73658c2bd833283faf268d36e9f1ef6125a8 (patch) | |
tree | 03a0af6bbb9e05c3469a59241d4be3e2a068c1d0 /sys/arch/amd64/include | |
parent | 7238b52add2b705ff9ae9a8db1a612f98efa28c1 (diff) |
as Jason requested, be gone vtophys().
ok deraadt@ marco@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/pmap.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/amd64/include/pmap.h b/sys/arch/amd64/include/pmap.h index eeb26c3fdbd..28ec7b51183 100644 --- a/sys/arch/amd64/include/pmap.h +++ b/sys/arch/amd64/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.6 2005/05/27 19:32:39 art Exp $ */ +/* $OpenBSD: pmap.h,v 1.7 2005/06/01 14:36:36 brad Exp $ */ /* $NetBSD: pmap.h,v 1.1 2003/04/26 18:39:46 fvdl Exp $ */ /* @@ -555,7 +555,6 @@ kvtopte(vaddr_t va) #define pmap_cpu_has_pg_n() (1) #define pmap_cpu_has_invlpg (1) -paddr_t vtophys(vaddr_t); vaddr_t pmap_map(vaddr_t, paddr_t, paddr_t, vm_prot_t); #if 0 /* XXXfvdl was USER_LDT, need to check if that can be supported */ @@ -563,11 +562,6 @@ void pmap_ldt_cleanup(struct proc *); #define PMAP_FORK #endif /* USER_LDT */ -/* - * Hooks for the pool allocator. - */ -/* #define POOL_VTOPHYS(va) vtophys((vaddr_t) (va)) */ - #define PMAP_DIRECT_MAP(pa) ((vaddr_t)PMAP_DIRECT_BASE + pa) #define PMAP_DIRECT_UNMAP(va) ((paddr_t)va - PMAP_DIRECT_BASE) |