2014-06-27 12:26:24 +08:00
|
|
|
/*
|
2019-01-07 06:09:45 +08:00
|
|
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
2014-06-27 12:26:24 +08:00
|
|
|
*
|
2019-01-07 06:09:45 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2014-06-27 12:26:24 +08:00
|
|
|
*
|
2019-01-07 06:09:45 +08:00
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2013-07-20 Bernard first version
|
2014-06-27 12:26:24 +08:00
|
|
|
*/
|
|
|
|
|
2019-01-07 06:09:45 +08:00
|
|
|
#ifndef __CP15_H__
|
|
|
|
#define __CP15_H__
|
|
|
|
|
2014-06-27 12:26:24 +08:00
|
|
|
unsigned long rt_cpu_get_smp_id(void);
|
|
|
|
|
|
|
|
void rt_cpu_mmu_disable(void);
|
|
|
|
void rt_cpu_mmu_enable(void);
|
|
|
|
void rt_cpu_tlb_set(volatile unsigned long*);
|
|
|
|
|
|
|
|
void rt_cpu_vector_set_base(unsigned int addr);
|
|
|
|
|
|
|
|
#endif
|