| | 1 | = GIET_VM / User Level Libraries = |
| | 2 | |
| | 3 | This section describes the libraries available for user applications: |
| | 4 | |
| | 5 | === [wiki:library_stdio Stdio library] === |
| | 6 | |
| | 7 | This library contains all system calls allowing an application |
| | 8 | to access a protected ressource (peripheral register, or protected processor register). |
| | 9 | Each function in this library contains at least one SYSCALL instruction to enter the kernel mode. |
| | 10 | |
| | 11 | === [wiki:library_stdlib Stdlib user library] === |
| | 12 | |
| | 13 | This library contains various utility functions that do not use system calls. |
| | 14 | |
| | 15 | === [wiki:library_mwmr MWMR user library] === |
| | 16 | |
| | 17 | This library defines a communication middleware |
| | 18 | supporting channelised communications in a multi-tasks parallel application. |
| | 19 | This middleware does not use system calls. |
| | 20 | |
| | 21 | === [wiki:library_barrier Barrier user library] === |
| | 22 | |
| | 23 | This library contains functions used to synchronize |
| | 24 | severals tasks in a multi-task parallel application. Most of these functions |
| | 25 | do not use system calls. |
| | 26 | |
| | 27 | === [wiki:library_locks Spin_lock user library] === |
| | 28 | |
| | 29 | This library contains functions used to provide |
| | 30 | exclusive access to a shared ressource in a multi-task parallel application. |
| | 31 | These functions do not use system calls. |
| | 32 | |
| | 33 | === [wiki:library_malloc Malloc user library] === |
| | 34 | |
| | 35 | This library contains functions allowing an user application |
| | 36 | to dynamically allocate virtual memory from the application heap. |
| | 37 | When the target architecture is clusterized (several physical banks), the heap |
| | 38 | is physically distributed on the clusters, and there is actually on allocator per cluster. |