1 /* 2 * Copyright (c) 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 9 #include "spinlock.h" 10 11 DEFINE_FAKE_VALUE_FUNC(bool, z_spin_lock_valid, struct k_spinlock *); 12 DEFINE_FAKE_VALUE_FUNC(bool, z_spin_unlock_valid, struct k_spinlock *); 13 DEFINE_FAKE_VOID_FUNC(z_spin_lock_set_owner, struct k_spinlock *); 14