|
| 1 | +.. _posix_aep: |
| 2 | + |
| 3 | +POSIX Application Environment Profiles (AEP) |
| 4 | +############################################ |
| 5 | + |
| 6 | +Although inactive, `IEEE 1003.13-2003`_ defined a number of AEP that inspired the modern |
| 7 | +subprofiling options of `IEEE 1003.1-2017`_. The single-purpose realtime system profiles |
| 8 | +are listed below, for reference, in terms that agree with the current POSIX-1 standard. PSE54 |
| 9 | +is not considered at this time. |
| 10 | + |
| 11 | +.. _posix_aep_pse51: |
| 12 | + |
| 13 | +Minimal Realtime System Profile (PSE51) |
| 14 | +======================================= |
| 15 | + |
| 16 | +.. Conforming implementations shall define _POSIX_AEP_REALTIME_MINIMAL to the value 200312L |
| 17 | +
|
| 18 | +.. csv-table:: PSE51 System Interfaces |
| 19 | + :header: Symbol, Support, Remarks |
| 20 | + :widths: 50, 10, 50 |
| 21 | + |
| 22 | + _POSIX_AEP_REALTIME_MINIMAL, -1, |
| 23 | + |
| 24 | +.. csv-table:: PSE51 Option Groups |
| 25 | + :header: Symbol, Support, Remarks |
| 26 | + :widths: 50, 10, 50 |
| 27 | + |
| 28 | + POSIX_C_LANG_JUMP,, |
| 29 | + POSIX_C_LANG_SUPPORT, yes, :ref:`†<posix_undefined_behaviour>` |
| 30 | + POSIX_DEVICE_IO,, :ref:`†<posix_undefined_behaviour>` |
| 31 | + POSIX_FILE_LOCKING,, |
| 32 | + POSIX_SIGNALS,, :ref:`†<posix_undefined_behaviour>` |
| 33 | + POSIX_SINGLE_PROCESS,, :ref:`†<posix_undefined_behaviour>` |
| 34 | + POSIX_THREADS_BASE, yes, :ref:`†<posix_undefined_behaviour>` |
| 35 | + XSI_THREADS_EXT, yes, :ref:`†<posix_undefined_behaviour>` |
| 36 | + |
| 37 | +.. csv-table:: PSE51 Option Requirements |
| 38 | + :header: Symbol, Support, Remarks |
| 39 | + :widths: 50, 10, 50 |
| 40 | + |
| 41 | + _POSIX_CLOCK_SELECTION, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK` |
| 42 | + _POSIX_FSYNC, -1, |
| 43 | + _POSIX_MEMLOCK, -1, |
| 44 | + _POSIX_MEMLOCK_RANGE, -1, |
| 45 | + _POSIX_MONOTONIC_CLOCK, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK` |
| 46 | + _POSIX_REALTIME_SIGNALS, -1, |
| 47 | + _POSIX_SEMAPHORES, 200809L, :kconfig:option:`CONFIG_PTHREAD_IPC` |
| 48 | + _POSIX_SHARED_MEMORY_OBJECTS, -1, |
| 49 | + _POSIX_SYNCHRONIZED_IO, -1, |
| 50 | + _POSIX_THREAD_ATTR_STACKADDR, 200809L, :kconfig:option:`CONFIG_PTHREAD` |
| 51 | + _POSIX_THREAD_ATTR_STACKSIZE, 200809L, :kconfig:option:`CONFIG_PTHREAD` |
| 52 | + _POSIX_THREAD_CPUTIME, -1, |
| 53 | + _POSIX_THREAD_PRIO_INHERIT, 200809L, :kconfig:option:`CONFIG_PTHREAD_MUTEX` |
| 54 | + _POSIX_THREAD_PRIO_PROTECT, -1, |
| 55 | + _POSIX_THREAD_PRIORITY_SCHEDULING, -1, |
| 56 | + _POSIX_THREAD_SPORADIC_SERVER, -1, |
| 57 | + _POSIX_TIMEOUTS, 200809L, :kconfig:option:`CONFIG_PTHREAD_IPC` |
| 58 | + _POSIX_TIMERS, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK` |
| 59 | + |
| 60 | +.. note:: |
| 61 | + For PSE51 support, 44 of 75 symbols are currently implemented. |
| 62 | + |
| 63 | +.. _posix_aep_pse52: |
| 64 | + |
| 65 | +Realtime Controller System Profile (PSE52) |
| 66 | +========================================== |
| 67 | + |
| 68 | +.. Conforming implementations shall define _POSIX_AEP_REALTIME_CONTROLLER to the value 200312L |
| 69 | +
|
| 70 | +.. csv-table:: PSE52 System Interfaces |
| 71 | + :header: Symbol, Support, Remarks |
| 72 | + :widths: 50, 10, 50 |
| 73 | + |
| 74 | + _POSIX_AEP_REALTIME_CONTROLLER, -1, |
| 75 | + |
| 76 | +.. csv-table:: PSE52 Option Groups |
| 77 | + :header: Symbol, Support, Remarks |
| 78 | + :widths: 50, 10, 50 |
| 79 | + |
| 80 | + POSIX_C_LANG_JUMP,, |
| 81 | + POSIX_C_LANG_MATH, yes, |
| 82 | + POSIX_C_LANG_SUPPORT, yes, :ref:`†<posix_undefined_behaviour>` |
| 83 | + POSIX_DEVICE_IO,, :ref:`†<posix_undefined_behaviour>` |
| 84 | + POSIX_FD_MGMT,, |
| 85 | + POSIX_FILE_LOCKING,, |
| 86 | + POSIX_FILE_SYSTEM,, |
| 87 | + POSIX_SIGNALS,, :ref:`†<posix_undefined_behaviour>` |
| 88 | + POSIX_SINGLE_PROCESS,, :ref:`†<posix_undefined_behaviour>` |
| 89 | + POSIX_THREADS_BASE, yes, :ref:`†<posix_undefined_behaviour>` |
| 90 | + XSI_THREADS_EXT, yes, :ref:`†<posix_undefined_behaviour>` |
| 91 | + |
| 92 | +.. csv-table:: PSE52 Option Requirements |
| 93 | + :header: Symbol, Support, Remarks |
| 94 | + :widths: 50, 10, 50 |
| 95 | + |
| 96 | + _POSIX_CLOCK_SELECTION, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK` |
| 97 | + _POSIX_FSYNC, -1, |
| 98 | + _POSIX_MAPPED_FILES, -1, |
| 99 | + _POSIX_MEMLOCK, -1, |
| 100 | + _POSIX_MEMLOCK_RANGE, -1, |
| 101 | + _POSIX_MESSAGE_PASSING, 200809L, :kconfig:option:`CONFIG_POSIX_MQUEUE` |
| 102 | + _POSIX_MONOTONIC_CLOCK, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK` |
| 103 | + _POSIX_REALTIME_SIGNALS, -1, |
| 104 | + _POSIX_SEMAPHORES, 200809L, :kconfig:option:`CONFIG_PTHREAD_IPC` |
| 105 | + _POSIX_SHARED_MEMORY_OBJECTS, -1, |
| 106 | + _POSIX_SYNCHRONIZED_IO, -1, |
| 107 | + _POSIX_THREAD_ATTR_STACKADDR, 200809L, :kconfig:option:`CONFIG_PTHREAD` |
| 108 | + _POSIX_THREAD_ATTR_STACKSIZE, 200809L, :kconfig:option:`CONFIG_PTHREAD` |
| 109 | + _POSIX_THREAD_CPUTIME, -1, |
| 110 | + _POSIX_THREAD_PRIO_INHERIT, 200809L, :kconfig:option:`CONFIG_PTHREAD_MUTEX` |
| 111 | + _POSIX_THREAD_PRIO_PROTECT, -1, |
| 112 | + _POSIX_THREAD_PRIORITY_SCHEDULING, -1, |
| 113 | + _POSIX_THREAD_SPORADIC_SERVER, -1, |
| 114 | + _POSIX_TIMEOUTS, 200809L, :kconfig:option:`CONFIG_PTHREAD_IPC` |
| 115 | + _POSIX_TIMERS, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK` |
| 116 | + _POSIX_TRACE, -1, |
| 117 | + _POSIX_TRACE_EVENT_FILTER, -1, |
| 118 | + _POSIX_TRACE_LOG, -1, |
| 119 | + |
| 120 | +.. _posix_aep_pse53: |
| 121 | + |
| 122 | +Dedicated Realtime System Profile (PSE53) |
| 123 | +========================================= |
| 124 | + |
| 125 | +.. Conforming implementations shall define _POSIX_AEP_REALTIME_MINIMAL to the value 200312L |
| 126 | +
|
| 127 | +.. csv-table:: PSE53 System Interfaces |
| 128 | + :header: Symbol, Support, Remarks |
| 129 | + :widths: 50, 10, 50 |
| 130 | + |
| 131 | + _POSIX_AEP_REALTIME_CONTROLLER, -1, |
| 132 | + |
| 133 | +.. csv-table:: PSE53 Option Groups |
| 134 | + :header: Symbol, Support, Remarks |
| 135 | + :widths: 50, 10, 50 |
| 136 | + |
| 137 | + POSIX_C_LANG_JUMP,, |
| 138 | + POSIX_C_LANG_MATH, yes, |
| 139 | + POSIX_C_LANG_SUPPORT, yes, :ref:`†<posix_undefined_behaviour>` |
| 140 | + POSIX_DEVICE_IO,, :ref:`†<posix_undefined_behaviour>` |
| 141 | + POSIX_FD_MGMT,, |
| 142 | + POSIX_FILE_LOCKING,, |
| 143 | + POSIX_FILE_SYSTEM,, |
| 144 | + POSIX_MULTI_PROCESS,, :ref:`†<posix_undefined_behaviour>` |
| 145 | + POSIX_NETWORKING, yes, :ref:`†<posix_undefined_behaviour>` |
| 146 | + POSIX_PIPE,, :ref:`†<posix_undefined_behaviour>` |
| 147 | + POSIX_SIGNALS,, :ref:`†<posix_undefined_behaviour>` |
| 148 | + POSIX_SIGNAL_JUMP,, :ref:`†<posix_undefined_behaviour>` |
| 149 | + POSIX_SINGLE_PROCESS,, :ref:`†<posix_undefined_behaviour>` |
| 150 | + POSIX_THREADS_BASE, yes, :ref:`†<posix_undefined_behaviour>` |
| 151 | + XSI_THREADS_EXT, yes, :ref:`†<posix_undefined_behaviour>` |
| 152 | + |
| 153 | +.. csv-table:: PSE53 Option Requirements |
| 154 | + :header: Symbol, Support, Remarks |
| 155 | + :widths: 50, 10, 50 |
| 156 | + |
| 157 | + _POSIX_ASYNCHRONOUS_IO, -1, |
| 158 | + _POSIX_CLOCK_SELECTION, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK` |
| 159 | + _POSIX_CPUTIME, -1, |
| 160 | + _POSIX_FSYNC, -1, |
| 161 | + _POSIX_MAPPED_FILES, -1, |
| 162 | + _POSIX_MEMLOCK, -1, |
| 163 | + _POSIX_MEMLOCK_RANGE, -1, |
| 164 | + _POSIX_MEMORY_PROTECTION, -1, |
| 165 | + _POSIX_MESSAGE_PASSING, 200809L, :kconfig:option:`CONFIG_POSIX_MQUEUE` |
| 166 | + _POSIX_MONOTONIC_CLOCK, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK` |
| 167 | + _POSIX_PRIORITIZED_IO, -1, |
| 168 | + _POSIX_PRIORITY_SCHEDULING, -1, |
| 169 | + _POSIX_RAW_SOCKETS, 200809L, :kconfig:option:`CONFIG_NET_SOCKETS` |
| 170 | + _POSIX_REALTIME_SIGNALS, -1, |
| 171 | + _POSIX_SEMAPHORES, 200809L, :kconfig:option:`CONFIG_PTHREAD_IPC` |
| 172 | + _POSIX_SHARED_MEMORY_OBJECTS, -1, |
| 173 | + _POSIX_SPAWN, -1, |
| 174 | + _POSIX_SPORADIC_SERVER, -1, |
| 175 | + _POSIX_SYNCHRONIZED_IO, -1, |
| 176 | + _POSIX_THREAD_ATTR_STACKADDR, 200809L, :kconfig:option:`CONFIG_PTHREAD` |
| 177 | + _POSIX_THREAD_ATTR_STACKSIZE, 200809L, :kconfig:option:`CONFIG_PTHREAD` |
| 178 | + _POSIX_THREAD_CPUTIME, -1, |
| 179 | + _POSIX_THREAD_PRIO_INHERIT, 200809L, :kconfig:option:`CONFIG_PTHREAD_MUTEX` |
| 180 | + _POSIX_THREAD_PRIO_PROTECT, -1, |
| 181 | + _POSIX_THREAD_PRIORITY_SCHEDULING, -1, |
| 182 | + _POSIX_THREAD_PROCESS_SHARED, -1, |
| 183 | + _POSIX_THREAD_SPORADIC_SERVER, -1, |
| 184 | + _POSIX_TIMEOUTS, 200809L, :kconfig:option:`CONFIG_PTHREAD_IPC` |
| 185 | + _POSIX_TIMERS, 200809L, :kconfig:option:`CONFIG_POSIX_CLOCK` |
| 186 | + _POSIX_TRACE, -1, |
| 187 | + _POSIX_TRACE_EVENT_FILTER, -1, |
| 188 | + _POSIX_TRACE_LOG, -1, |
| 189 | + |
| 190 | +.. _IEEE 1003.1-2017: https://standards.ieee.org/ieee/1003.1/7101/ |
| 191 | +.. _IEEE 1003.13-2003: https://standards.ieee.org/ieee/1003.13/3322/ |
0 commit comments