diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-17 23:56:47 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-17 23:56:47 +0000 |
commit | 21878d746ae25676d721f3bec593b44dbfa840e1 (patch) | |
tree | 46ebbdcc321c7e7626e10af222ced90a17e1dc0d | |
parent | 085ed67bf4e8133116dc9cc7aab69aa410ef199f (diff) |
kvtop() is not used anymore. Thanks for the fish.
-rw-r--r-- | sys/arch/hp300/hp300/vm_machdep.c | 16 | ||||
-rw-r--r-- | sys/arch/hp300/include/cpu.h | 3 |
2 files changed, 2 insertions, 17 deletions
diff --git a/sys/arch/hp300/hp300/vm_machdep.c b/sys/arch/hp300/hp300/vm_machdep.c index 78a1fbadc21..2440240cd24 100644 --- a/sys/arch/hp300/hp300/vm_machdep.c +++ b/sys/arch/hp300/hp300/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.38 2005/09/25 22:26:10 miod Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.39 2005/11/17 23:56:44 miod Exp $ */ /* $NetBSD: vm_machdep.c,v 1.60 2001/07/06 05:53:35 chs Exp $ */ /* @@ -267,20 +267,6 @@ physunaccess(vaddr, size) } /* - * Convert kernel VA to physical address - */ -int -kvtop(addr) - caddr_t addr; -{ - paddr_t pa; - - if (pmap_extract(pmap_kernel(), (vaddr_t)addr, &pa) == FALSE) - panic("kvtop: zero page frame"); - return((int)pa); -} - -/* * Map a user I/O request into kernel virtual address space. * Note: the pages are already locked by uvm_vslock(), so we * do not need to pass an access_type to pmap_enter(). diff --git a/sys/arch/hp300/include/cpu.h b/sys/arch/hp300/include/cpu.h index f82f7083f18..e27971886ed 100644 --- a/sys/arch/hp300/include/cpu.h +++ b/sys/arch/hp300/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.27 2005/08/01 11:54:22 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.28 2005/11/17 23:56:46 miod Exp $ */ /* $NetBSD: cpu.h,v 1.28 1998/02/13 07:41:51 scottr Exp $ */ /* @@ -182,7 +182,6 @@ void dumpconf(void); /* vm_machdep.c functions */ void physaccess(caddr_t, caddr_t, int, int); void physunaccess(caddr_t, int); -int kvtop(caddr_t); /* what is this supposed to do? i.e. how is it different than startrtclock? */ #define enablertclock() |