XScale: clean up full_context() (#1)
commit8c8e53baf6a5842046a1d31057ec3c9a0906a0d5
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 29 Nov 2009 21:04:56 +0000 (29 13:04 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 29 Nov 2009 21:04:56 +0000 (29 13:04 -0800)
tree99bc7f9246d1abf72ec0328423499acd79481784
parente456da073abeb2b45fdeb7ef48bf5f905221524a
XScale: clean up full_context() (#1)

When fetching all the registers, XScale was doing various stupid
things like calling number_to_mode() a few dozen times instead of
just once, and mapping access to each register three times (again,
instead of just once).  Stop that.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/xscale.c