2023-01-21 00:45:38 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2023 O.S.Systems
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2023-09-27 06:46:01 +08:00
|
|
|
#include <zephyr/internal/syscall_handler.h>
|
2023-01-21 00:45:38 +08:00
|
|
|
#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>
|