diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-06-12 01:49:44 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-06-12 01:49:44 +0000 |
commit | be3b51dd60976be2463d265878fddd588b0fc89f (patch) | |
tree | 59f1e55d0862771957ef1174017bd68d20b8d227 /sys/arch/sparc64/include/param.h | |
parent | 13fbc0f6b292101d40a8b99cea3ff72936d29355 (diff) |
Remove some #if 0 cruft.
Diffstat (limited to 'sys/arch/sparc64/include/param.h')
-rw-r--r-- | sys/arch/sparc64/include/param.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h index 6f516d5d467..ae3409b7411 100644 --- a/sys/arch/sparc64/include/param.h +++ b/sys/arch/sparc64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.8 2002/03/14 01:26:45 millert Exp $ */ +/* $OpenBSD: param.h,v 1.9 2002/06/12 01:49:43 art Exp $ */ /* $NetBSD: param.h,v 1.25 2001/05/30 12:28:51 mrg Exp $ */ /* @@ -252,21 +252,6 @@ extern int nbpg, pgofset, pgshift; */ #ifdef _KERNEL #ifndef _LOCORE -#if 0 -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 caddr_t kdvma_mapin(caddr_t, int, int); -extern caddr_t dvma_malloc(size_t, void *, int); -extern void dvma_free(caddr_t, size_t, void *); -#endif extern void delay(unsigned int); #define DELAY(n) delay(n) |