HomeFreeBSD

SMP support for ARMv6/v7 HW watchpoints

Description

SMP support for ARMv6/v7 HW watchpoints

Use per-CPU structure to store HW watchpoints registers state
for each CPU present in the system. Those registers will be restored
upon wake up from the STOP state if requested by the debug_monitor
code. The method is similar to the one introduced to AMD64.

We store all possible 16 registers for HW watchpoints
(maximum allowed by the architecture).
HW breakpoints are not maintained since they are used for single
stepping only.

Pointed out by: kib
Reviewed by: wma
No strong objections from: kib
Submitted by: Zbigniew Bodek <zbb@semihalf.com>
Obtained from: Semihalf
Sponsored by: Juniper Networks Inc.
Differential Revision: https://reviews.freebsd.org/D4338

Details

Provenance
zbbAuthored on
Reviewer
wma
Differential Revision
D4338: SMP support for ARMv6/v7 HW watchpoints
Parents
rS294986: MFC r294506:
Branches
Unknown
Tags
Unknown