ARM: hw_breakpoint: trap undef instruction exceptions in reset_ctrl_regs
authorWill Deacon <will.deacon@arm.com>
Mon, 8 Aug 2011 13:26:53 +0000 (14:26 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 31 Aug 2011 09:42:48 +0000 (10:42 +0100)
The ARM debug registers can only be accessed if the DBGSWENABLE signal
to the core is driven HIGH by the DAP. The architecture does not provide
a way to detect the value of this signal, so the best we can do is
register an undef_hook to trap debug register co-processor accesses and
then fail if the trap is taken.

Signed-off-by: Will Deacon <will.deacon@arm.com>

No differences found