Hello Drasko, Tuesday, July 5, 2011, 7:01:44 PM, you wrote:
DD> On Tue, Jul 5, 2011 at 6:17 PM, Spencer Oliver <s...@spen-soft.co.uk> wrote: >> I think your patch is ok, but would be better if it checks the arch version >> and issue a warning about cache writes not supported or something along >> those lines. DD> On the first look, this can be accomplished by reading CP0 PRId DD> register, but Revision field is not quite well explained. DD> I have no idea how to obtain info if the proc is MIPS32/64 Rev2 compliant. You should use the Config register (CP0 Register 16). AT field (bits 14:13) tells if it's MIPS32 or MIPS64, and AR (12:10) is the release. -- WBR, Igor mailto:skochin...@mail.ru _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development