1 /* Copyright 2019 SiFive, Inc */
2 /* SPDX-License-Identifier: Apache-2.0 */
4 #include <metal/lock.h>
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);