diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-06 22:17:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-06 22:17:21 +0000 |
commit | a489941c120302c3e2e5d3920d5ffacc0783fd1f (patch) | |
tree | 82947053fbd477e98ac6ef6b1ab59539eb4b73ff /sys/arch | |
parent | dbf526a0562c187c13469f409819ec53edd52462 (diff) |
Sync VM games on startup with earlier pmap_table[] cleanups.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/m187_machdep.c | 14 | ||||
-rw-r--r-- | sys/arch/mvme88k/mvme88k/m188_machdep.c | 14 |
2 files changed, 2 insertions, 26 deletions
diff --git a/sys/arch/mvme88k/mvme88k/m187_machdep.c b/sys/arch/mvme88k/mvme88k/m187_machdep.c index bb0fb0d4e96..f1cfa21cc11 100644 --- a/sys/arch/mvme88k/mvme88k/m187_machdep.c +++ b/sys/arch/mvme88k/mvme88k/m187_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: m187_machdep.c,v 1.11 2006/04/27 20:21:19 miod Exp $ */ +/* $OpenBSD: m187_machdep.c,v 1.12 2006/05/06 22:17:20 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -71,7 +71,6 @@ u_int m187_raiseipl(u_int); u_int m187_setipl(u_int); void m187_startup(void); -vaddr_t obiova; vaddr_t bugromva; /* @@ -106,17 +105,6 @@ m187_startup() UVM_ADV_NORMAL, 0)); if (bugromva != BUG187_START) panic("bugromva %lx: BUGROM not free", bugromva); - - /* - * Grab the OBIO space that we hardwired in pmap_bootstrap - */ - obiova = OBIO187_START; - uvm_map(kernel_map, (vaddr_t *)&obiova, OBIO187_SIZE, - NULL, UVM_UNKNOWN_OFFSET, 0, - UVM_MAPFLAG(UVM_PROT_NONE, UVM_PROT_NONE, UVM_INH_NONE, - UVM_ADV_NORMAL, 0)); - if (obiova != OBIO187_START) - panic("obiova %lx: OBIO not free", obiova); } /* diff --git a/sys/arch/mvme88k/mvme88k/m188_machdep.c b/sys/arch/mvme88k/mvme88k/m188_machdep.c index b67bf72e93a..903702b61c7 100644 --- a/sys/arch/mvme88k/mvme88k/m188_machdep.c +++ b/sys/arch/mvme88k/mvme88k/m188_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: m188_machdep.c,v 1.19 2006/05/02 21:43:09 miod Exp $ */ +/* $OpenBSD: m188_machdep.c,v 1.20 2006/05/06 22:17:20 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -175,8 +175,6 @@ const unsigned int int_mask_val[INT_LEVEL] = { MASK_LVL_7 }; -vaddr_t utilva; - /* * Figure out how much memory is available, by querying the MBus registers. * @@ -209,16 +207,6 @@ m188_memsize() void m188_startup() { - /* - * Grab the UTIL space that we hardwired in pmap_bootstrap(). - */ - utilva = MVME188_UTILITY; - uvm_map(kernel_map, (vaddr_t *)&utilva, MVME188_UTILITY_SIZE, - NULL, UVM_UNKNOWN_OFFSET, 0, - UVM_MAPFLAG(UVM_PROT_NONE, UVM_PROT_NONE, UVM_INH_NONE, - UVM_ADV_NORMAL, 0)); - if (utilva != MVME188_UTILITY) - panic("utilva %lx: UTILITY area not free", utilva); } void |