diff options
| author | nisimura <nisimura@NetBSD.org> | 2000-10-09 10:14:23 +0000 |
|---|---|---|
| committer | nisimura <nisimura@NetBSD.org> | 2000-10-09 10:14:23 +0000 |
| commit | 778081cbf48ab28175362847b20ea67e8a65ae49 (patch) | |
| tree | ce2f619b6bc82fec6928ee28d6298db6bc31109d /sys | |
| parent | 4acc4fc7fe818fd675ba5301d18eee1f4a1a95c9 (diff) | |
Add mtc0 insn to load TX3900 config register value to determine Dcache size.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/mips/mips/locore_mips1.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mips/mips/locore_mips1.S b/sys/arch/mips/mips/locore_mips1.S index daa04539273..9b05e0c7a2c 100644 --- a/sys/arch/mips/mips/locore_mips1.S +++ b/sys/arch/mips/mips/locore_mips1.S @@ -1,4 +1,4 @@ -/* $NetBSD: locore_mips1.S,v 1.47 2000/10/04 08:46:21 nisimura Exp $ */ +/* $NetBSD: locore_mips1.S,v 1.48 2000/10/09 10:14:23 nisimura Exp $ */ /* * Copyright (c) 1992, 1993 @@ -1185,6 +1185,7 @@ END(mips1_icsize) * int mips1_dcsize() R3900/R3920 special */ LEAF(mips1_dcsize) + mfc0 t0, R3900_COP_0_CONFIG li t1, R3900_CONFIG_DCS_MASK and t1, t1, t0 srl t1, t1, R3900_CONFIG_DCS_SHIFT |
