ARMv7-A: stop using CP15 ops
commit209a0197f0c79442a2314199170a957c36c0ddb6
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 1 Dec 2009 08:48:40 +0000 (1 00:48 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 1 Dec 2009 08:48:40 +0000 (1 00:48 -0800)
tree3e574b044020e68dc8a04231f35efa2303e4d6f9
parentfb984a477d526b742855bfe0ab07f4dced3b9323
ARMv7-A: stop using CP15 ops

The ARMv7-A code uses read_cp15() to access fault registers.
Instead, use DPM operations directly, passing in the relevant
MRC instructions.

This eliminates per-operation overhead (though it'll be hard
to observe, this is uncommon) and helps eliminate read_cp15().

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