blob: 0946e07218d3ea4eb3bfddbce995b8ee1c411918 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#include <linux/types.h>
14
15uint32_t etm_read_reg(uint32_t reg);
16void etm_write_reg(uint32_t reg, uint32_t val);
17void l2tevselr0_write(uint32_t val);
18void etm_save_reg(void);
19void etm_restore_reg(void);