diff options
author | Will Deacon <will.deacon@arm.com> | 2012-09-24 18:01:13 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2012-11-09 11:47:06 +0000 |
commit | 0daa034e696ac601061cbf60fda41ad39678ae14 (patch) | |
tree | 5513f12675dcf390351336abb3ce7148530f28ab /arch/arm/include/asm/hw_breakpoint.h | |
parent | 5ad29ea24e58777aa1daaa2255670ffb40aefd99 (diff) |
ARM: hw_breakpoint: check if monitor mode is enabled during validation
Rather than attempt to enable monitor mode explicitly when scheduling in
a breakpoint event (which could raise an undefined exception trap when
accessing DBGDSCRext), instead check that DBGDSCRint.MDBGen is set
during event validation and report an error to the caller if not.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/include/asm/hw_breakpoint.h')
0 files changed, 0 insertions, 0 deletions