blob: ab4e6aaba58134e3a5bbc4230b51a89168c41173 [file] [log] [blame]
Dimitris Papastamos525c37a2017-11-13 09:49:45 +00001/*
Antonio Nino Diaz033b4bb2018-10-25 16:52:26 +01002 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
Dimitris Papastamos525c37a2017-11-13 09:49:45 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz033b4bb2018-10-25 16:52:26 +01007#ifndef AMU_PRIVATE_H
8#define AMU_PRIVATE_H
Dimitris Papastamos525c37a2017-11-13 09:49:45 +00009
10#include <stdint.h>
11
12uint64_t amu_group0_cnt_read_internal(int idx);
Antonio Nino Diaz033b4bb2018-10-25 16:52:26 +010013void amu_group0_cnt_write_internal(int idx, uint64_t val);
Dimitris Papastamos525c37a2017-11-13 09:49:45 +000014
15uint64_t amu_group1_cnt_read_internal(int idx);
Antonio Nino Diaz033b4bb2018-10-25 16:52:26 +010016void amu_group1_cnt_write_internal(int idx, uint64_t val);
Dimitris Papastamos525c37a2017-11-13 09:49:45 +000017void amu_group1_set_evtype_internal(int idx, unsigned int val);
18
Antonio Nino Diaz033b4bb2018-10-25 16:52:26 +010019#endif /* AMU_PRIVATE_H */