mirror of
https://github.com/OpenAMP/libmetal.git
synced 2026-09-26 20:48:23 +08:00
lib: processor: add ceva support
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
collect (PROJECT_LIB_HEADERS cpu.h)
|
||||
|
||||
# vim: expandtab:ts=2:sw=2:smartindent
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Pinecone Inc. and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
/*
|
||||
* @file cpu.h
|
||||
* @brief CPU specific primitives
|
||||
*/
|
||||
|
||||
#ifndef __METAL_CEVA_CPU__H__
|
||||
#define __METAL_CEVA_CPU__H__
|
||||
|
||||
#define metal_cpu_yield()
|
||||
|
||||
#ifdef TEAKLITE4
|
||||
/*
|
||||
* The dummy implementation is enough here since
|
||||
* tl42x don't support the out of order and multi core
|
||||
*/
|
||||
#define __sync_synchronize()
|
||||
#endif
|
||||
|
||||
#endif /* __METAL_CEVA_CPU__H__ */
|
||||
Reference in New Issue
Block a user