]> git.sur5r.net Git - openocd/commit
mips32, drop unnecessary code in mips32_pracc.c
authorSalvador Arroyo <sarroyofdez@yahoo.es>
Wed, 22 Feb 2017 22:14:36 +0000 (23:14 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Tue, 25 Apr 2017 15:58:47 +0000 (16:58 +0100)
commit09ebc1afadcc710e3d0f37bdaba3d76a1487d306
treeed80c976ff6c0aa3362043d2e2447b2f4acbd8b7
parent7ccd53bdde3f3a2fbd957f8b75f38125468c199f
mips32, drop unnecessary code in mips32_pracc.c

Struct mips32_pracc_context no more in use.
In current code cp0 reg/sel do not requires special handling.
In sync mode ctx.store_count not used, drop check.
In fasdata transfer function use mips32_pracc_read_ctrl_addr()
to reduce code.

Change-Id: Ibd4cfa5a44ebc106ed0db042f4e54a2e0b3d43cb
Signed-off-by: Salvador Arroyo <sarroyofdez@yahoo.es>
Reviewed-on: http://openocd.zylin.com/4007
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/target/mips32_pracc.c