mips32: add micromips isa handling
authorSalvador Arroyo <sarroyofdez@yahoo.es>
Sun, 7 May 2017 16:39:17 +0000 (18:39 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Mon, 8 May 2017 17:04:56 +0000 (18:04 +0100)
commit4831ce4433adf4e2fbf5729bebf8c0f7c2fce1c1
treee91008743b085f53691fdc13776e584c665f9ec5
parentf5151b6d46cb0b939e3beb0fc61cb8718908f4b8
mips32: add micromips isa handling

Read and save configuration registers, up to 4.
Config3 holds the micromips implementation info.
Added isa implementation info to mips32_common.
Added isa filter to avoid common mistakes, but only
if one isa mode is implemented.
When resuming the isa requested is set if more than
one isa mode is implemented.

Change-Id: I1d6526c5525bffac8d75e031b842b2edc6310e28
Signed-off-by: Salvador Arroyo <sarroyofdez@yahoo.es>
Reviewed-on: http://openocd.zylin.com/4123
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/target/mips32.c
src/target/mips32.h
src/target/mips_ejtag.h
src/target/mips_m4k.c
src/target/mips_m4k.h