summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/hw_breakpoint.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-09-24 18:01:13 +0100
committerWill Deacon <will.deacon@arm.com>2012-11-09 11:47:06 +0000
commit0daa034e696ac601061cbf60fda41ad39678ae14 (patch)
tree5513f12675dcf390351336abb3ce7148530f28ab /arch/arm/include/asm/hw_breakpoint.h
parent5ad29ea24e58777aa1daaa2255670ffb40aefd99 (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