jtagmm: Add ETM register save-restore support for CPUs with OS Lock

For CPUs with OS lock mechanism, the OS lock needs to be manipulated
appropriately before saving and restoring the ETM registers.

Change-Id: I557e6956b3c6bc04e7b3df137a1155ddb1fcf7b6
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2 files changed