mips32: build register cache in a more clear way 43/1943/2
authorAntony Pavlov <antonynpavlov@gmail.com>
Sun, 9 Feb 2014 08:15:06 +0000 (12:15 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 24 Feb 2014 12:10:29 +0000 (12:10 +0000)
commitbc1340cf0b9aa28c03d1b07c54b6e0bf4a483351
tree6122e848f03b9c595b8aad45317b153d7c6cc6a3
parent5fcfe5cfea5c244995ff3f8fa76154c4516886d2
mips32: build register cache in a more clear way

This commit is inspired by armv7m_build_reg_cache().

Change-Id: I62b51b2a5f0fed788af167b6f8e60c09b53181be
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Reviewed-on: http://openocd.zylin.com/1943
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/mips32.c