mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 18:41:22 +00:00
AMU: Implement support for aarch64
The `ENABLE_AMU` build option can be used to enable the architecturally defined AMU counters. At present, there is no support for the auxiliary counter group. Change-Id: I7ea0c0a00327f463199d1b0a481f01dadb09d312 Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
This commit is contained in:
parent
3a6a9adc55
commit
380559c1c3
7 changed files with 101 additions and 2 deletions
15
include/lib/extensions/amu.h
Normal file
15
include/lib/extensions/amu.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef __AMU_H__
|
||||
#define __AMU_H__
|
||||
|
||||
/* Enable all group 0 counters */
|
||||
#define AMU_GROUP0_COUNTERS_MASK 0xf
|
||||
|
||||
void amu_enable(int el2_unused);
|
||||
|
||||
#endif /* __AMU_H__ */
|
Loading…
Add table
Add a link
Reference in a new issue