Download I SCIOPTA - Real
Transcript
3 System Calls Reference 3.11 sc_moduleFriendAdd 3.11.1 Description SCIOPTA - Real-Time Kernel This system call is used to add a module to the friends of the caller. The caller accept the module in parameter mid as friend. The module is entered in the friend set of the caller. In SCIOPTA each module can select friend modules. This has mainly consequences on whether messages will be copied or not. 3.11.2 Syntax void sc_moduleFriendAdd ( sc_moduleid_t mid ); 3.11.3 mid Parameter Module ID. Module ID of the new friend to add. 3.11.4 Return Value None. 3.11.5 Errors Error Code ¦ Error Type Extra Value KERNEL_EILL_MODULE ¦ SC_ERR_SYSTEM_FATAL Module ID not valid (mid >= SC_MAX_MODULE). Module ID SCIOPTA - Real-Time Kernel Reference Manual Manual Version 4.1 3-13