Unregisters the current process as a coprocessor user.
#include <sys/coprocessor.h>
kerrno_t coprocessor_user_unregister ( int coprocessor_type )
Item | Description |
---|---|
coprocessor_type | Numeric value in the range [0..63] which identifies a coprocessor type. |
This kernel service allows a kernel extension to unregister the current process that was previously registered as a coprocessor user. When successful, further accesses by the process to the coprocessor type passed as an argument in user mode will fail with a privileged operation exception.
This kernel service can be called in the process environment only.
When the call is successful, the kernel service returns a value of zero. Otherwise, a negative value is returned to indicate an error.
Possible errors are: