The EDHSR characteristics are:
Provides Debug Halt Status information.
EDHSR is in the Core power domain.
This register is present only when FEAT_SME is implemented. Otherwise, direct accesses to EDHSR are RES0.
This register is only valid when the PE is in Debug state and EDSCR.STATUS is 0b101011, indicating a Watchpoint debug event. Otherwise, it has an UNKNOWN value.
The field EDDEVID1.HSR indicates support for this register.
EDHSR is a 64-bit register.
63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RES0 | |||||||||||||||||||||||||||||||
RES0 | WPT | WPTV | WPF | FnP | RES0 | FnV | RES0 |
Reserved, RES0.
Watchpoint number, 0 to 15 inclusive.
All other values are reserved.
The reset behavior of this field is:
Watchpoint number Valid.
WPTV | Meaning |
---|---|
0b0 |
The WPT field is invalid, and holds an UNKNOWN value. |
0b1 |
The WPT field is valid, and holds the number of a watchpoint that triggered an entry to Debug state. |
When an entry to Debug state is triggered by a watchpoint match:
The reset behavior of this field is:
Watchpoint might be false-positive.
WPF | Meaning |
---|---|
0b0 |
The watchpoint matched the original access or set of contiguous accesses. |
0b1 |
The watchpoint matched an access or set of contiguous accesses where the lowest accessed address was rounded down to the nearest multiple of 16 bytes and the highest accessed address was rounded up to the nearest multiple of 16 bytes minus 1, but the watchpoint might not have matched the original access or set of contiguous accesses. |
The reset behavior of this field is:
FAR not Precise.
This field only has meaning if the EDWAR is valid; that is, when the FnV field is 0. If the FnV field is 1, the FnP field is 0.
FnP | Meaning |
---|---|
0b0 |
If the FnV field is 0, the EDWAR holds the virtual address of an access or set of contiguous accesses that triggered an entry to Debug state. |
0b1 |
The EDWAR holds any address within the smallest implemented translation granule that contains the virtual address of an access or set of contiguous accesses that triggered an entry to Debug state. |
The reset behavior of this field is:
Reserved, RES0.
FAR not Valid.
FnV | Meaning |
---|---|
0b0 |
The EDWAR is valid, and its value is as described by the FnP field. |
0b1 |
The EDWAR is invalid, and holds an UNKNOWN value. |
The reset behavior of this field is:
Reserved, RES0.
Component | Offset | Instance | Range |
---|---|---|---|
Debug | 0x038 | EDHSR | 31:0 |
This interface is accessible as follows:
Component | Offset | Instance | Range |
---|---|---|---|
Debug | 0x03C | EDHSR | 63:32 |
This interface is accessible as follows:
05/07/2022 17:08; b0421fa9a8865165f9b91af9b4a566111f866305
Copyright © 2010-2022 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.