Subject: CVS commit: syssrc
To: None <>
From: Chuck Cranor <>
List: source-changes
Date: 09/16/2000 03:04:58
Module Name:	syssrc
Committed By:	chuck
Date:		Sat Sep 16 00:04:58 UTC 2000

Modified Files:
	syssrc/sys/arch/mips/include: cpuregs.h locore.h
	syssrc/sys/arch/mips/mips: mips_machdep.c

Log Message:
IDT32364's Config register uses a different base for IC/DC (instruction
and data cache sizes).   R4000 uses 2^(12+IC) and 2^(12+DC).  IDT32364
uses 2^(9+IC) and 2^(9+DC).

abstract around the problem by making the base a parameter to the
MIPS3_CONFIG_CACHE_SIZE macro.   we pass the base down from mips_vector_init
to mips3_vector_init and to mips3_ConfigCache (where it is used).

XXX: someone with an MIPS3_4100 should switch to this and get rid
of the ugly ifdefs in cpuregs.h

To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 syssrc/sys/arch/mips/include/cpuregs.h
cvs rdiff -r1.41 -r1.42 syssrc/sys/arch/mips/include/locore.h
cvs rdiff -r1.100 -r1.101 syssrc/sys/arch/mips/mips/mips_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.