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_reboot.h
Go to the documentation of this file.
1
19
#ifndef RTE_OS_REBOOT_H
20
#define RTE_OS_REBOOT_H
21
22
#include "
rte/utils/status/rte_status.h
"
23
#include "
rte/utils/types/rte_types.h
"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
40
rte_status_t
rte_reboot_request
(uint16_t reason_code);
41
42
/*
43
* The OSAdapter vtable (rte_osadapter_reboot_t) and
44
* rte_osadapter_reboot_register() live in
45
* rte_osadapter/reboot/rte_osadapter_reboot.h, not here (ADR-021). This
46
* header is the consumer-facing surface only.
47
*/
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
/* RTE_OS_REBOOT_H */
54
/* REBOOT */
rte_reboot_request
rte_status_t rte_reboot_request(uint16_t reason_code)
Requests a controlled system restart.
Definition
rte_reboot.c:44
rte_status_t
rte_status_t
Common result/status codes.
Definition
rte_status.h:27
rte_status.h
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
rte_types.h
Common fixed-width types and the caller-owned-storage handle pattern used by every OAL service (see A...
include
rte
oal
reboot
rte_reboot.h
Generated by
1.18.0