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_reboot.h
Go to the documentation of this file.
1
19#ifndef RTE_OS_REBOOT_H
20#define RTE_OS_REBOOT_H
21
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
40rte_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_status_t rte_reboot_request(uint16_t reason_code)
Requests a controlled system restart.
Definition rte_reboot.c:44
rte_status_t
Common result/status codes.
Definition rte_status.h:27
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
Common fixed-width types and the caller-owned-storage handle pattern used by every OAL service (see A...