Subversion Repositories HelenOS

Rev

Rev 4307 | Rev 4502 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4307 Rev 4351
Line 199... Line 199...
199
 
199
 
200
static inline int   generic_packet_size_req( int phone, int message, device_id_t device_id, size_t * addr_len, size_t * prefix, size_t * content, size_t * suffix ){
200
static inline int   generic_packet_size_req( int phone, int message, device_id_t device_id, size_t * addr_len, size_t * prefix, size_t * content, size_t * suffix ){
201
    return ( int ) async_req_1_4( phone, ( ipcarg_t ) message, ( ipcarg_t ) device_id, ( ipcarg_t * ) addr_len, ( ipcarg_t * ) prefix, ( ipcarg_t * ) content, ( ipcarg_t * ) suffix );
201
    return ( int ) async_req_1_4( phone, ( ipcarg_t ) message, ( ipcarg_t ) device_id, ( ipcarg_t * ) addr_len, ( ipcarg_t * ) prefix, ( ipcarg_t * ) content, ( ipcarg_t * ) suffix );
202
}
202
}
203
 
203
 
204
static inline int   generic_device_state_msg( int phone, int message, device_id_t device_id, int state ){
204
static inline int   generic_device_state_msg( int phone, int message, device_id_t device_id, int state, services_t target ){
205
    async_msg_2( phone, ( ipcarg_t ) message, ( ipcarg_t ) device_id, ( ipcarg_t ) state );
205
    async_msg_3( phone, ( ipcarg_t ) message, ( ipcarg_t ) device_id, ( ipcarg_t ) state, target );
206
    return EOK;
206
    return EOK;
207
}
207
}
208
 
208
 
209
static inline int   generic_received_msg( int phone, int message, device_id_t device_id, packet_id_t packet_id, services_t target ){
209
static inline int   generic_received_msg( int phone, int message, device_id_t device_id, packet_id_t packet_id, services_t target ){
210
    async_msg_3( phone, ( ipcarg_t ) message, ( ipcarg_t ) device_id, ( ipcarg_t ) packet_id, ( ipcarg_t ) target );
210
    async_msg_3( phone, ( ipcarg_t ) message, ( ipcarg_t ) device_id, ( ipcarg_t ) packet_id, ( ipcarg_t ) target );