Safe API Framework
0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Toggle main menu visibility
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>
11
#include "
rte/oal/reboot/rte_reboot.h
"
12
#include "
rte/utils/status/rte_status.h
"
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
21
typedef
struct
rte_osadapter_reboot_s
22
{
23
rte_status_t
(*request)(uint16_t reason_code);
24
}
rte_osadapter_reboot_t
;
25
35
rte_status_t
rte_osadapter_reboot_register
(
const
rte_osadapter_reboot_t
*adapter);
36
37
38
#ifdef __cplusplus
39
}
40
#endif
41
42
#endif
/* RTE_OSADAPTER_REBOOT_H */
rte_status_t
rte_status_t
Common result/status codes.
Definition
rte_status.h:27
rte_osadapter_reboot_register
rte_status_t rte_osadapter_reboot_register(const rte_osadapter_reboot_t *adapter)
Registers the OSAdapter reboot implementation.
Definition
rte_reboot.c:25
rte_reboot.h
OS Abstraction Layer - Controlled reboot service (ADR-004 section 3).
rte_status.h
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
rte_osadapter_reboot_t
OSAdapter reboot operations vtable.
Definition
rte_osadapter_reboot.h:22
include
rte_osadapter
reboot
rte_osadapter_reboot.h
Generated by
1.18.0