| |||
| Home > RVISS Reference > Coprocessor model interface > ARMulif_InstallCoprocessorV5 | |||
Use this function to register a coprocessor handler.
This function is prototyped in armul_copro.h.
unsigned ARMulif_InstallCoprocessorV5(RDI_ModuleDesc *mdesc, unsignednumber, struct ARMul_CoprocessorV5 *cpv5, void *handle)
where:
mdescis the handle for the core.
numberis the coprocessor number.
cpv5is a pointer to the coprocessor interface structure.
handleis a pointer to private data to pass to each coprocessor function.
This function returns either:
ARMulErr_NoError, if there is
no error
an ARMul_Error value.
The error must be passed through Hostif_RaiseError() for
formatting (see Hostif_RaiseError).