syscall: rename Z_OOPS -> K_OOPS

Rename internal API to not use z_/Z_.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-09-27 11:20:28 +00:00 committed by Carles Cufí
commit a08bfeb49c
82 changed files with 651 additions and 651 deletions

View file

@ -9,7 +9,7 @@
static inline int z_vrfy_hwspinlock_trylock(const struct device *dev, uint32_t id)
{
Z_OOPS(K_SYSCALL_DRIVER_HWSPINLOCK(dev, trylock));
K_OOPS(K_SYSCALL_DRIVER_HWSPINLOCK(dev, trylock));
return z_impl_hwspinlock_trylock(dev, id);
}
@ -17,7 +17,7 @@ static inline int z_vrfy_hwspinlock_trylock(const struct device *dev, uint32_t i
static inline void z_vrfy_hwspinlock_lock(const struct device *dev, uint32_t id)
{
Z_OOPS(K_SYSCALL_DRIVER_HWSPINLOCK(dev, lock));
K_OOPS(K_SYSCALL_DRIVER_HWSPINLOCK(dev, lock));
z_impl_hwspinlock_lock(dev, id);
}
@ -25,7 +25,7 @@ static inline void z_vrfy_hwspinlock_lock(const struct device *dev, uint32_t id)
static inline void z_vrfy_hwspinlock_unlock(const struct device *dev, uint32_t id)
{
Z_OOPS(K_SYSCALL_DRIVER_HWSPINLOCK(dev, unlock));
K_OOPS(K_SYSCALL_DRIVER_HWSPINLOCK(dev, unlock));
z_impl_hwspinlock_unlock(dev, id);
}
@ -33,7 +33,7 @@ static inline void z_vrfy_hwspinlock_unlock(const struct device *dev, uint32_t i
static inline uint32_t z_vrfy_hwspinlock_get_max_id(const struct device *dev)
{
Z_OOPS(K_SYSCALL_DRIVER_HWSPINLOCK(dev, get_max_id));
K_OOPS(K_SYSCALL_DRIVER_HWSPINLOCK(dev, get_max_id));
return z_impl_hwspinlock_get_max_id(dev);
}