linux-mips
[Top] [All Lists]

Re: Troubles with TLB refills

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Troubles with TLB refills
From: Liam Davies <ldavies@agile.tv>
Date: Tue, 06 Mar 2001 16:45:32 +1000
Cc: linux-mips@oss.sgi.com
Organization: Agile TV
References: <3AA30A91.B5842678@agile.tv> <20010305114926.A26862@bacchus.dhis.org>
Reply-to: ldavies@oz.agile.tv
Sender: owner-linux-mips@oss.sgi.com
Ralf,

>From the change 1.42 to 1.43 on file arch/mips/kernel/traps.c some code was
added
to copy the EJTAG exception vector

+ /*
+  * Copy the EJTAG debug exception vector handler code to it's final
+  * destination.
+  */
+ memcpy((void *)(KSEG0 + 0x300), &except_vec_ejtag_debug, 0x80);

This code indescriminatly smashes the end of except_vec0_r4600 and
all of except_vec0_nevada handlers with the .fill set to only 0x280
00000000800002d4 T except_vec0_r4600
0000000080000328 T except_vec0_nevada
0000000080000380 T except_vec0_r45k_bvahwbug

I'm not sure under what platform we need to load JTAG support, but we can
just increase the fill area in head.S to say 0x400

Cheers
Liam

=-------------=
Agile TV Corporation



<Prev in Thread] Current Thread [Next in Thread>