The PMLSR characteristics are:
Indicates the current status of the software lock for Performance Monitors registers.
This register is part of the Performance Monitors registers functional group.
This register is accessible as follows:
Default |
---|
RO |
PMLSR is in the Debug power domain. Some or all RW fields of this register have defined reset values. These apply only on an External debug reset. The register is not affected by a Warm reset and is not affected by a Cold reset.
If OPTIONAL memory-mapped access to the external debug interface is supported then an OPTIONAL Software Lock can be implemented as part of CoreSight compliance.
PMLSR is RAZ if the Software Lock is not implemented and is RAZ for other accesses to the external debug interface.
The Software Lock provides a lock to prevent memory-mapped writes to the Performance Monitors registers. Use of this lock mechanism reduces the risk of accidental damage to the contents of the Performance Monitors registers. It does not, and cannot, prevent all accidental or malicious damage.
Software uses PMLAR to set or clear the lock, and PMLSR to check the current status of the lock.
PMLSR is a 32-bit register.
The PMLSR bit assignments are:
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 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | nTT | SLK | SLI |
Reserved, RES0.
Not thirty-two bit access required. RAZ.
Software Lock status for this component. For an access to LSR that is not a memory-mapped access, or when the Software Lock is not implemented, this field is RES0.
For memory-mapped accesses when the software lock is implemented, possible values of this field are:
SLK | Meaning |
---|---|
0 |
Lock clear. Writes are permitted to this component's registers. |
1 |
Lock set. Writes to this component's registers are ignored, and reads have no side effects. |
When this register has an architecturally-defined reset value, this field resets to 1.
Software Lock implemented. For an access to LSR that is not a memory-mapped access, this field is RAZ. For memory-mapped accesses, the value of this field is IMPLEMENTATION DEFINED. Permitted values are:
SLI | Meaning |
---|---|
0 |
Software Lock not implemented or not memory-mapped access. |
1 |
Software Lock implemented and memory-mapped access. |
PMLSR can be accessed through a memory-mapped access to the external debug interface:
Component | Offset |
---|---|
PMU | 0xFB4 |
18/04/2017 17:00
Copyright © 2010-2017 ARM Limited or its affiliates. All rights reserved. This document is Confidential.