blob: 0946e07218d3ea4eb3bfddbce995b8ee1c411918 [file] [log] [blame]
/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <linux/types.h>
uint32_t etm_read_reg(uint32_t reg);
void etm_write_reg(uint32_t reg, uint32_t val);
void l2tevselr0_write(uint32_t val);
void etm_save_reg(void);
void etm_restore_reg(void);