diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-07-22 21:33:05 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-07-22 21:33:05 +0000 |
commit | b4375cec7e9617f93861387f019e62e5ebaf3c00 (patch) | |
tree | eb80c25d477a21b16f3ac62084ad9c7f583a3b5b /sys/arch/sparc64/include | |
parent | 56cd6f62076cff63abae6ddc1d64623cc63c5565 (diff) |
Get rid of the fixe VA range for device mappings; use uvm_km_valloc() instead.
This allows mappings of more than 256MB, needed by some frame buffers.
"looks good", miod@
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r-- | sys/arch/sparc64/include/param.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h index de4d7c0f8d1..f3d6f12458c 100644 --- a/sys/arch/sparc64/include/param.h +++ b/sys/arch/sparc64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.25 2007/05/28 21:02:49 thib Exp $ */ +/* $OpenBSD: param.h,v 1.26 2007/07/22 21:33:04 kettenis Exp $ */ /* $NetBSD: param.h,v 1.25 2001/05/30 12:28:51 mrg Exp $ */ /* @@ -149,8 +149,6 @@ extern int nbpg, pgofset, pgshift; * KERNEND+0x010000: 64K locked TTE -- different for each CPU * Contains interrupt stack, cpu_info structure, * and 32KB kernel TSB. - * KERNEND+0x020000: IODEV_BASE -- begin mapping IO devices here. - * 0x00000000fe000000: IODEV_END -- end of device mapping space. * */ #define KERNBASE 0x001000000 /* start of kernel virtual space */ @@ -168,8 +166,6 @@ extern int nbpg, pgofset, pgshift; #define INTSTACK ( KERNEND + 8*_MAXNBPG)/* 64K after kernel end */ #define EINTSTACK ( INTSTACK + 2*USPACE) /* 32KB */ #define CPUINFO_VA ( EINTSTACK) -#define IODEV_BASE ( CPUINFO_VA + 8*_MAXNBPG)/* 64K long */ -#define IODEV_END 0x0f0000000UL /* 16 MB of iospace */ /* * Constants related to network buffer management. |