]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1_GCC/freedom-metal/src/lock.c
Base project to replace existing Freedom Studio project using latest Freedom Studio...
[freertos] / FreeRTOS / Demo / RISC-V_RV32_SiFive_HiFive1_GCC / freedom-metal / src / lock.c
1 /* Copyright 2019 SiFive, Inc */
2 /* SPDX-License-Identifier: Apache-2.0 */
3
4 #include <metal/lock.h>
5
6 extern inline int metal_lock_init(struct metal_lock *lock);
7 extern inline int metal_lock_take(struct metal_lock *lock);
8 extern inline int metal_lock_give(struct metal_lock *lock);