|
Simple Virtual Machine
A simple but flexible virtual machine
|
This module contains API functions to handle SVM memory synchronisation. More...
Functions | |
| SVM_FUNCTION void | svm_memory_synchronisation_enable (const void *svm, const SVM_Kernel kernel, const SVM_Value_Pointer pointer) |
| This function enables the synchronisation on a memory zone. | |
| SVM_FUNCTION void | svm_memory_synchronisation_disable (const void *svm, const SVM_Kernel kernel, const SVM_Value_Pointer pointer) |
| This function disables the synchronisation on a memory zone. | |
This module contains API functions to handle SVM memory synchronisation.
| SVM_FUNCTION void svm_memory_synchronisation_disable | ( | const void * | svm, |
| const SVM_Kernel | kernel, | ||
| const SVM_Value_Pointer | pointer | ||
| ) |
This function disables the synchronisation on a memory zone.
| [in] | svm | The SVM pointer passed as first argument of the callback function. |
| [in] | kernel | The kernel in which the targeted memory is. |
| [in] | pointer | The memory zone to release from protection by synchronisation. |
| FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
| FAILURE | interruption when the kernel is not owned by our process or is not in a process locked by ours. |
| SVM_FUNCTION void svm_memory_synchronisation_enable | ( | const void * | svm, |
| const SVM_Kernel | kernel, | ||
| const SVM_Value_Pointer | pointer | ||
| ) |
This function enables the synchronisation on a memory zone.
| [in] | svm | The SVM pointer passed as first argument of the callback function. |
| [in] | kernel | The kernel in which the targeted memory is. |
| [in] | pointer | The memory zone to protect by synchronisation. |
The synchronisation mechanism applied to each address of the memory zone is equivalent to SVM_Lock.
| FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
| FAILURE | interruption when the kernel is not owned by our process or is not in a process locked by ours. |