refer MMUCR_VALIDBITS from mmureg.h

This commit is contained in:
msaitoh 2000-09-04 05:50:45 +00:00
parent 8d1b1036ff
commit 85c00d0fed
2 changed files with 9 additions and 3 deletions

View File

@ -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 <sys/mbuf.h>
include <uvm/uvm_extern.h>
include <sh3/mmureg.h>
include <machine/trap.h>
include <machine/pmap.h>
include <machine/vmparam.h>
@ -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

View File

@ -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: