Don't allow get_physical to attempt get_pte if mmutype is 68040.

(At least until get_pte works on the 040).
This commit is contained in:
briggs 1996-09-18 03:33:23 +00:00
parent ae0d4c11cb
commit 197a86e724

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.116 1996/09/16 18:00:30 scottr Exp $ */
/* $NetBSD: machdep.c,v 1.117 1996/09/18 03:33:23 briggs Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -2395,6 +2395,9 @@ get_physical(u_int addr, u_long * phys)
int i, numbits;
extern u_int macos_tc;
if (mmutype == MMU_68040)
return 0;
i = get_pte(addr, pte, &psr);
switch (i) {