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.h
Go to the documentation of this file.
1
15
#ifndef RTE_OSADAPTER_H
16
#define RTE_OSADAPTER_H
17
18
#include "
rte_osadapter/rte_osadapter_socket.h
"
19
#include "
rte_osadapter/memory/rte_osadapter_memory.h
"
20
#include "
rte_osadapter/clocksync/rte_osadapter_clocksync.h
"
21
#include "
rte_osadapter/timer/rte_osadapter_timer.h
"
22
#include "
rte_osadapter/mutex/rte_osadapter_mutex.h
"
23
#include "
rte_osadapter/task/rte_osadapter_task.h
"
24
#include "
rte_osadapter/log/rte_osadapter_log.h
"
25
#include "
rte_osadapter/nvm/rte_osadapter_nvm.h
"
26
#include "
rte_osadapter/platform/rte_osadapter_platform.h
"
27
#include "
rte_osadapter/random/rte_osadapter_random.h
"
28
#include "
rte_osadapter/reboot/rte_osadapter_reboot.h
"
29
#include "
rte_osadapter/ipc/rte_osadapter_ipc.h
"
30
#include "
rte_osadapter/netlink/rte_osadapter_netlink.h
"
31
#include "
rte_osadapter/flow/rte_osadapter_flow.h
"
32
#include "
rte_osadapter/fsou/rte_osadapter_fsou.h
"
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
41
typedef
struct
rte_osadapter_bundle_s
42
{
43
const
rte_osadapter_memory_t
*memory;
44
const
rte_osadapter_clocksync_t
*clocksync;
45
const
rte_osadapter_timer_t
*timer;
46
const
rte_osadapter_mutex_t
*mutex;
47
const
rte_osadapter_task_t
*task;
48
const
rte_osadapter_log_t
*log;
49
const
rte_osadapter_nvm_t
*nvm;
50
const
rte_osadapter_platform_t
*platform;
51
const
rte_osadapter_reboot_t
*reboot;
52
const
rte_osadapter_ipc_t
*ipc;
53
const
rte_osadapter_netlink_t
*netlink;
54
const
rte_osadapter_flow_t
*flow;
55
const
rte_os_socket_ops_t
*sockets;
56
const
rte_osadapter_random_t
*random;
57
const
rte_osadapter_fsou_t
*
fsou
;
58
}
rte_osadapter_bundle_t
;
59
65
rte_status_t
rte_osadapter_register_all
(
const
rte_osadapter_bundle_t
*bundle);
66
67
#ifdef __cplusplus
68
}
69
#endif
70
71
#endif
/* RTE_OSADAPTER_H */
rte_status_t
rte_status_t
Common result/status codes.
Definition
rte_status.h:27
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.
Definition
rte_osadapter.c:27
rte_osadapter_clocksync.h
OSAdapter interface for clock synchronization.
rte_osadapter_flow.h
OSAdapter interface for OCORA PI-API Flow communication.
rte_osadapter_fsou.h
OSAdapter interface for the Fail-Safe Output Unit (FSOU) output permission (ADR-041).
rte_osadapter_ipc.h
OSAdapter interface for inter-process communication.
rte_osadapter_log.h
OSAdapter interface for logging and diagnostics.
rte_osadapter_memory.h
OSAdapter interface for static memory pool management.
rte_osadapter_mutex.h
OSAdapter interface for mutual exclusion.
rte_osadapter_netlink.h
OSAdapter interface for point-to-point network links.
rte_osadapter_nvm.h
OSAdapter interface for non-volatile memory (NVM).
rte_osadapter_platform.h
OSAdapter interface for real-time platform configuration.
rte_osadapter_random.h
OSAdapter interface for cryptographically secure random bytes.
rte_osadapter_reboot.h
OSAdapter interface for controlled system reboot.
rte_osadapter_socket.h
OS Abstraction Layer - Raw OS Socket Interface for OSAdapters.
rte_osadapter_task.h
OSAdapter interface for task and thread scheduling.
rte_osadapter_timer.h
OSAdapter interface for monotonic timers and timestamps.
rte_os_socket_ops_t
Vtable of low-level OS socket operations implemented by an OSAdapter.
Definition
rte_osadapter_socket.h:61
rte_osadapter_bundle_t
Comprehensive bundle of all OSAdapter vtables for a platform.
Definition
rte_osadapter.h:42
rte_osadapter_bundle_t::fsou
const rte_osadapter_fsou_t * fsou
Definition
rte_osadapter.h:57
rte_osadapter_clocksync_t
OSAdapter clock synchronization operations vtable.
Definition
rte_osadapter_clocksync.h:22
rte_osadapter_flow_t
OSAdapter Flow operations vtable.
Definition
rte_osadapter_flow.h:23
rte_osadapter_fsou_t
OSAdapter FSOU operations vtable.
Definition
rte_osadapter_fsou.h:31
rte_osadapter_ipc_t
OSAdapter IPC operations vtable.
Definition
rte_osadapter_ipc.h:23
rte_osadapter_log_t
OSAdapter logging operations vtable.
Definition
rte_osadapter_log.h:21
rte_osadapter_memory_t
OSAdapter memory pool operations vtable.
Definition
rte_osadapter_memory.h:26
rte_osadapter_mutex_t
OSAdapter mutex operations vtable.
Definition
rte_osadapter_mutex.h:35
rte_osadapter_netlink_t
OSAdapter network link operations vtable.
Definition
rte_osadapter_netlink.h:23
rte_osadapter_nvm_t
OSAdapter NVM operations vtable.
Definition
rte_osadapter_nvm.h:21
rte_osadapter_platform_t
OSAdapter platform operations vtable.
Definition
rte_osadapter_platform.h:23
rte_osadapter_random_t
OSAdapter random operations vtable.
Definition
rte_osadapter_random.h:26
rte_osadapter_reboot_t
OSAdapter reboot operations vtable.
Definition
rte_osadapter_reboot.h:22
rte_osadapter_task_t
OSAdapter task scheduling operations vtable.
Definition
rte_osadapter_task.h:21
rte_osadapter_timer_t
OSAdapter timer operations vtable.
Definition
rte_osadapter_timer.h:21
include
rte_osadapter
rte_osadapter.h
Generated by
1.18.0