diff options
Diffstat (limited to 'sys/arch/mvme88k/mvme88k/pmap_table.c')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/pmap_table.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/arch/mvme88k/mvme88k/pmap_table.c b/sys/arch/mvme88k/mvme88k/pmap_table.c index a1b9555574d..b314ed54ae2 100644 --- a/sys/arch/mvme88k/mvme88k/pmap_table.c +++ b/sys/arch/mvme88k/mvme88k/pmap_table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap_table.c,v 1.10 2001/12/13 08:55:52 smurph Exp $ */ +/* $OpenBSD: pmap_table.c,v 1.11 2001/12/16 23:49:47 miod Exp $ */ /* * Mach Operating System @@ -31,7 +31,7 @@ #include <sys/types.h> #include <machine/board.h> #include <sys/param.h> -#include <machine/cmmu.h> /* CMMU stuff */ +#include <machine/m882xx.h> /* CMMU stuff */ #include <uvm/uvm_extern.h> #include <machine/pmap_table.h> /* pmap_table.h*/ @@ -63,6 +63,7 @@ static pmap_table_entry m188_board_table[] = { #ifdef MVME197 static pmap_table_entry m197_board_table[] = { { BUGROM_START, BUGROM_START, BUGROM_SIZE, RW, CI}, + { SRAM_START , SRAM_START , SRAM_SIZE , RW, CG}, { OBIO_START , OBIO_START , OBIO_SIZE , RW, CI}, { 0 , 0 , 0xffffffff , 0 , 0}, }; @@ -75,19 +76,19 @@ pmap_table_build(endoftext) unsigned int i; pmap_table_t bt, pbt; - switch (brdtyp) { + switch (cputyp) { #ifdef MVME187 - case BRD_187: + case CPU_187: bt = m187_board_table; break; #endif #ifdef MVME188 - case BRD_188: + case CPU_188: bt = m188_board_table; break; #endif #ifdef MVME197 - case BRD_197: + case CPU_197: bt = m197_board_table; break; #endif |