Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
rte_osadapter_reboot.h
Go to the documentation of this file.
1
7#ifndef RTE_OSADAPTER_REBOOT_H
8#define RTE_OSADAPTER_REBOOT_H
9
10#include <stdint.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
21typedef struct rte_osadapter_reboot_s
22{
23 rte_status_t (*request)(uint16_t reason_code);
25
36
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif /* RTE_OSADAPTER_REBOOT_H */
rte_status_t
Common result/status codes.
Definition rte_status.h:27
rte_status_t rte_osadapter_reboot_register(const rte_osadapter_reboot_t *adapter)
Registers the OSAdapter reboot implementation.
Definition rte_reboot.c:25
OS Abstraction Layer - Controlled reboot service (ADR-004 section 3).
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
OSAdapter reboot operations vtable.