Subversion Repositories HelenOS

Rev

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

Rev 2071 Rev 2089
Line 34... Line 34...
34
 
34
 
35
#ifndef LIBIPC_IPC_H_
35
#ifndef LIBIPC_IPC_H_
36
#define LIBIPC_IPC_H_
36
#define LIBIPC_IPC_H_
37
 
37
 
38
#include <kernel/ipc/ipc.h>
38
#include <kernel/ipc/ipc.h>
39
#include <kernel/ipc/irq.h>
39
#include <kernel/ddi/irq.h>
40
#include <libc.h>
40
#include <libc.h>
41
#include <types.h>
41
#include <types.h>
42
#include <kernel/synch/synch.h>
42
#include <kernel/synch/synch.h>
43
 
43
 
44
typedef sysarg_t ipcarg_t;
44
typedef sysarg_t ipcarg_t;
45
typedef struct {
45
typedef struct {
46
    ipcarg_t args[IPC_CALL_LEN];
46
    ipcarg_t args[IPC_CALL_LEN];
47
    ipcarg_t in_phone_hash;
47
    ipcarg_t in_phone_hash;
48
} ipc_call_t ;
48
} ipc_call_t;
49
typedef sysarg_t ipc_callid_t;
49
typedef sysarg_t ipc_callid_t;
50
 
50
 
51
typedef void (* ipc_async_callback_t)(void *private, int retval,
51
typedef void (* ipc_async_callback_t)(void *private, int retval,
52
                      ipc_call_t *data);
52
                      ipc_call_t *data);
53
 
53