1 /* 2 * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 8 #ifndef _CC_PAL_MUTEX_PLAT_H 9 #define _CC_PAL_MUTEX_PLAT_H 10 11 #include "FreeRTOS.h" 12 #include "semphr.h" 13 14 #ifdef __cplusplus 15 extern "C" 16 { 17 #endif 18 /** 19 * @brief File Description: 20 * This file contains functions for resource management (semaphor operations). 21 * The functions implementations are generally just wrappers to different operating system calls. 22 * None of the described functions will check the input parameters so the behavior 23 * of the APIs in illegal parameters case is dependent on the operating system behavior. 24 * 25 */ 26 27 typedef SemaphoreHandle_t CC_PalMutex; 28 29 30 31 /*---------------------------- 32 PUBLIC FUNCTIONS 33 -----------------------------------*/ 34 35 36 #ifdef __cplusplus 37 } 38 #endif 39 40 #endif 41 42 43