This module contains API functions to handle SVM processor error.
More...
This module contains API functions to handle SVM processor error.
◆ svm_processor_current_raise_error()
This function interrupts the current processor and the current instruction execution from any interruption.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | interruption | The interruption to raise to the processor. |
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
◆ svm_processor_current_raise_error_external__raw()
This function interrupts the current processor and the current instruction execution from a plugin defined interruption.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | interruption | The interruption name to raise to the processor. |
[in] | message | The message for investigation of the root cause of the interruption. |
The interruption type is automatically set to PLUGIN_INTERRUPTION.
The interruption kind is automatically set to SOFTWARE.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
FAILURE | interruption when the interruption parameter does not identify a plugin interruption. |
◆ svm_processor_current_raise_error_internal__raw()
This function interrupts the current processor and the current instruction execution from an internal interruption.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | interruption | The interruption type to raise to the processor. |
[in] | message | The message for investigation of the root cause of the interruption. |
The interruption kind is automatically set to SOFTWARE.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
FAILURE | interruption when the interruption type is PLUGIN_INTERRUPTION. |