From 85c00d0fed3128af192f69bbf7397fdaaa91c49e Mon Sep 17 00:00:00 2001 From: msaitoh Date: Mon, 4 Sep 2000 05:50:45 +0000 Subject: [PATCH] refer MMUCR_VALIDBITS from mmureg.h --- sys/arch/evbsh3/evbsh3/genassym.cf | 8 +++++++- sys/arch/evbsh3/evbsh3/locore.s | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sys/arch/evbsh3/evbsh3/genassym.cf b/sys/arch/evbsh3/evbsh3/genassym.cf index e6ee3e53e32a..8887d541c381 100644 --- a/sys/arch/evbsh3/evbsh3/genassym.cf +++ b/sys/arch/evbsh3/evbsh3/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.8 2000/08/11 14:51:08 msaitoh Exp $ +# $NetBSD: genassym.cf,v 1.9 2000/09/04 05:50:45 msaitoh Exp $ # # Copyright (c) 1995, 1997 Charles M. Hannum. All rights reserved. @@ -51,6 +51,7 @@ include include +include include include include @@ -101,4 +102,9 @@ define IOM_RAM_BEGIN IOM_RAM_BEGIN define IOM_RAM_SIZE IOM_RAM_SIZE define IOM_ROM_BEGIN IOM_ROM_BEGIN +# XXX SH4 only +ifdef MMUCR_VALIDBITS +define MMUCR_VALIDBITS MMUCR_VALIDBITS +endif + define LED_ADDR LED_ADDR diff --git a/sys/arch/evbsh3/evbsh3/locore.s b/sys/arch/evbsh3/evbsh3/locore.s index d859865afad6..8b13b58407bf 100644 --- a/sys/arch/evbsh3/evbsh3/locore.s +++ b/sys/arch/evbsh3/evbsh3/locore.s @@ -1,4 +1,4 @@ -/* $NetBSD: locore.s,v 1.23 2000/08/30 18:41:16 tsubai Exp $ */ +/* $NetBSD: locore.s,v 1.24 2000/09/04 05:50:45 msaitoh Exp $ */ /*- * Copyright (c) 1993, 1994, 1995, 1997 @@ -1150,7 +1150,7 @@ ENTRY(switch_exit) XLexit2: .long _C_LABEL(exit2) XL_MMUCR_VBITS: - .long 0xfcfcff05 + .long MMUCR_VALIDBITS XXL_SHREG_MMUCR: .long SHREG_MMUCR XXLP_ADDR: