|
Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
OS Abstraction Layer - Controlled reboot service (ADR-004 section 3). More...
Go to the source code of this file.
Functions | |
| rte_status_t | rte_reboot_request (uint16_t reason_code) |
| Requests a controlled system restart. | |
OS Abstraction Layer - Controlled reboot service (ADR-004 section 3).
Requests a controlled system restart (watchdog trigger, CPU reset instruction, supervisory processor command - osadapter-defined). Intended as the mechanism a RTE_REBOOT()/RTE_SAFESTATE_LEVEL_REBOOT handler calls into (see ADR-004 section 2.3); this header has no dependency on rte_safestate.h and can be used directly.
REQ-OAL-REBOOT-001: rte_reboot_request() is not expected to return on success; a return only occurs if the OSAdapter cannot perform the reboot.
Definition in file rte_reboot.h.