Set mac68k_vidphys outside of get_mapping() so the II and others will

get the default value correctly.
This commit is contained in:
briggs 1996-05-15 02:34:33 +00:00
parent 9ad87ec76e
commit 22637072e3
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.101 1996/05/14 04:00:53 briggs Exp $ */
/* $NetBSD: machdep.c,v 1.102 1996/05/15 02:34:36 briggs Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -2635,7 +2635,6 @@ get_mapping(void)
check_video("LC video (0x50f40000)",
512 * 1024, 512 * 1024);
} else {
mac68k_vidphys = videoaddr;
printf( " no internal video at address 0 -- "
"videoaddr is 0x%lx.\n", videoaddr);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap_bootstrap.c,v 1.24 1996/05/14 03:57:32 briggs Exp $ */
/* $NetBSD: pmap_bootstrap.c,v 1.25 1996/05/15 02:34:33 briggs Exp $ */
/*
* Copyright (c) 1991, 1993
@ -566,6 +566,7 @@ bootstrap_mac68k(tc)
printf("Bootstrapping NetBSD/mac68k.\n");
oldROMBase = ROMBase;
mac68k_vidphys = videoaddr;
if ((tc & 0x80000000) && (mmutype == MMU_68030)) {