summaryrefslogtreecommitdiff
path: root/platform/andes/ae350/plmt.h
blob: 129fcf8d146322252f72b2390494f4bc41251609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * SPDX-License-Identifier: BSD-2-Clause
 *
 * Copyright (c) 2019 Andes Technology Corporation
 *
 * Authors:
 *   Zong Li <zong@andestech.com>
 */

#ifndef _AE350_PLMT_H_
#define _AE350_PLMT_H_

u64 plmt_timer_value(void);

void plmt_timer_event_stop(void);

void plmt_timer_event_start(u64 next_event);

int plmt_warm_timer_init(void);

int plmt_cold_timer_init(unsigned long base, u32 hart_count);

#endif /* _AE350_PLMT_H_ */