amu_private.h 504 Bytes
Newer Older
1
/*
2
 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3
4
5
6
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

7
8
#ifndef AMU_PRIVATE_H
#define AMU_PRIVATE_H
9
10
11
12

#include <stdint.h>

uint64_t amu_group0_cnt_read_internal(int idx);
13
void amu_group0_cnt_write_internal(int idx, uint64_t val);
14
15

uint64_t amu_group1_cnt_read_internal(int idx);
16
void amu_group1_cnt_write_internal(int idx, uint64_t val);
17
18
void amu_group1_set_evtype_internal(int idx, unsigned int val);

19
#endif /* AMU_PRIVATE_H */