HomeFreeBSD

arm64: Use a switch to decide when to enable debug

Description

arm64: Use a switch to decide when to enable debug

Use a switch statement to decide which exceptions we need to call
dbg_enable for. This simplifies adding more esceptions to the list in
the future.

Reviewed by: jhb
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D44352

Details

Provenance
andrewAuthored on Mar 12 2024, 4:47 PM
Reviewer
jhb
Differential Revision
D44352: arm64: Use a switch to decide when to enable debug
Parents
rG2e2c983d5234: arm64: Always set the debug control and value regs
Branches
Unknown
Tags
Unknown