Skip to content
Commit 0daa034e authored by Will Deacon's avatar Will Deacon
Browse files

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: default avatarWill Deacon <will.deacon@arm.com>
parent 5ad29ea2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment