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.h File Reference

OS Abstraction Layer - Master OSAdapter Interface. More...

Include dependency graph for rte_osadapter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rte_osadapter_bundle_t
 Comprehensive bundle of all OSAdapter vtables for a platform. More...

Functions

rte_status_t rte_osadapter_register_all (const rte_osadapter_bundle_t *bundle)
 Registers all OSAdapter interfaces at once from an OSAdapter bundle.

Detailed Description

OS Abstraction Layer - Master OSAdapter Interface.

Consolidates all OS adapter primitives provided by a platform-specific OSAdapter (e.g. POSIX, QNX, FreeRTOS):

  • Memory, Clocks/Timers, Mutexes, Tasks/Threads
  • Logging, NVM, Platform, Reboot
  • IPC, Netlink, Flow
  • FSOU output permission (optional, ADR-041)
  • Raw OS Sockets (rte_osadapter_socket.h)

Compliant with CENELEC EN 50128 SIL 4 and MISRA C:2012.

Definition in file rte_osadapter.h.

Function Documentation

◆ rte_osadapter_register_all()

rte_status_t rte_osadapter_register_all ( const rte_osadapter_bundle_t * bundle)

Registers all OSAdapter interfaces at once from an OSAdapter bundle.

Parameters
bundlePointer to bundle with valid vtables. Must not be NULL.
Returns
RTE_STATUS_OK on success, RTE_STATUS_INVALID_PARAM if bundle is NULL.

Definition at line 27 of file rte_osadapter.c.