armv7-m/armv8-m: move up_pref* api to common place

Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
ligd
2022-03-26 03:01:10 +08:00
committed by Petro Karashchenko
parent 052c071867
commit f623ac0f13
8 changed files with 79 additions and 92 deletions
+2
View File
@@ -2555,8 +2555,10 @@ void arch_sporadic_resume(FAR struct tcb_s *tcb);
*
* The second interface simple converts an elapsed time into well known
* units.
*
****************************************************************************/
void up_perf_init(FAR void *arg);
uint32_t up_perf_gettime(void);
uint32_t up_perf_getfreq(void);
void up_perf_convert(uint32_t elapsed, FAR struct timespec *ts);