KERNEL_SPACE_START -> KERNEL_BASE

This commit is contained in:
thorpej 2002-03-23 19:38:30 +00:00
parent e80bfdc1a3
commit 2488d00e5f
3 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.8 2002/03/23 02:22:57 thorpej Exp $ */
/* $NetBSD: vmparam.h,v 1.9 2002/03/23 19:38:30 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@ -90,7 +90,7 @@
#define PAGE_TABLE_SPACE ((1 << (32 - PGSHIFT)) * sizeof(pt_entry_t))
/* Address where the page talbles are mapped. */
#define PTE_BASE (KERNEL_SPACE_START - PAGE_TABLE_SPACE)
#define PTE_BASE (KERNEL_BASE - PAGE_TABLE_SPACE)
/*
* Mach derived constants
@ -98,7 +98,7 @@
#define VM_MIN_ADDRESS ((vaddr_t) 0x00001000)
#define VM_MAXUSER_ADDRESS ((vaddr_t) (PTE_BASE - UPAGES * NBPG))
#define VM_MAX_ADDRESS ((vaddr_t) (PTE_BASE + \
(KERNEL_SPACE_START >> PGSHIFT) * \
(KERNEL_BASE >> PGSHIFT) * \
sizeof(pt_entry_t)))
#define VM_MIN_KERNEL_ADDRESS ((vaddr_t) KERNEL_TEXT_BASE)
#define VM_MAX_KERNEL_ADDRESS ((vaddr_t) 0xffffffff)

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus_io.c,v 1.6 2001/11/23 17:23:42 thorpej Exp $ */
/* $NetBSD: mainbus_io.c,v 1.7 2002/03/23 19:38:31 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@ -144,7 +144,7 @@ mainbus_bs_map(t, bpa, size, cacheable, bshp)
vaddr_t va;
pt_entry_t *pte;
if ((u_long)bpa > (u_long)KERNEL_SPACE_START) {
if ((u_long)bpa > (u_long)KERNEL_BASE) {
/* XXX This is a temporary hack to aid transition. */
*bshp = bpa;
return(0);

View File

@ -1,4 +1,4 @@
/* $NetBSD: sa11x0_io.c,v 1.5 2001/11/23 17:23:42 thorpej Exp $ */
/* $NetBSD: sa11x0_io.c,v 1.6 2002/03/23 19:38:31 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@ -147,7 +147,7 @@ sa11x0_bs_map(t, bpa, size, cacheable, bshp)
vaddr_t va;
pt_entry_t *pte;
if ((u_long)bpa > (u_long)KERNEL_SPACE_START) {
if ((u_long)bpa > (u_long)KERNEL_BASE) {
/* XXX This is a temporary hack to aid transition. */
*bshp = bpa;
return(0);