 80846c4a79
			
		
	
	
		80846c4a79
		
	
	
	
	
		
			
			. add receive hooks in the kernel to print asynchronously delivered messages . do not rely on MF_REPLY_PEND to decide between calls and errors, as that isn't reliable for asynchronous messages; try both instead . add _sendcall() that extract-mfield.sh can then reliably recognize the fields for messages that are sent with just send() . add DEBUG_DUMPIPC_NAMES to restrict printed messages to from/to given process names Change-Id: Ia65eb02a69a2b58e73bf9f009987be06dda774a3
		
			
				
	
	
		
			21 lines
		
	
	
		
			441 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			441 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
 | |
| #include <string.h>
 | |
| 
 | |
| #include "syslib.h"
 | |
| 
 | |
| /*===========================================================================*
 | |
|  *				sys_taskreply				     *
 | |
|  *===========================================================================*/
 | |
| int send_taskreply(endpoint_t who, endpoint_t endpoint, int status)
 | |
| {
 | |
|   message m;
 | |
| 
 | |
|   memset(&m, 0, sizeof(m));
 | |
| 
 | |
|   m.REP_ENDPT = endpoint;
 | |
|   m.REP_STATUS = status;
 | |
| 
 | |
|   return _sendcall(who, TASK_REPLY, &m);
 | |
| }
 | |
| 
 |