zephyr/subsys/mgmt/updatehub/updatehub_handlers.c

40 lines
874 B
C
Raw Normal View History

/*
* Copyright (c) 2023 O.S.Systems
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/internal/syscall_handler.h>
#include <zephyr/mgmt/updatehub.h>
static inline void z_vrfy_updatehub_autohandler(void)
{
z_impl_updatehub_autohandler();
}
#include <syscalls/updatehub_autohandler_mrsh.c>
static inline enum updatehub_response z_vrfy_updatehub_probe(void)
{
return z_impl_updatehub_probe();
}
#include <syscalls/updatehub_probe_mrsh.c>
static inline enum updatehub_response z_vrfy_updatehub_update(void)
{
return z_impl_updatehub_update();
}
#include <syscalls/updatehub_update_mrsh.c>
static inline int z_vrfy_updatehub_confirm(void)
{
return z_impl_updatehub_confirm();
}
#include <syscalls/updatehub_confirm_mrsh.c>
static inline int z_vrfy_updatehub_reboot(void)
{
return z_impl_updatehub_reboot();
}
#include <syscalls/updatehub_reboot_mrsh.c>