Rev 2071 | Rev 2479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2209 | ||
---|---|---|---|
Line 114... | Line 114... | ||
114 | 114 | ||
115 | /* Primitve functions for IPC communication */ |
115 | /* Primitve functions for IPC communication */ |
116 | void async_msg_3(int phoneid, ipcarg_t method, ipcarg_t arg1, ipcarg_t arg2, |
116 | void async_msg_3(int phoneid, ipcarg_t method, ipcarg_t arg1, ipcarg_t arg2, |
117 | ipcarg_t arg3); |
117 | ipcarg_t arg3); |
118 | void async_msg_2(int phoneid, ipcarg_t method, ipcarg_t arg1, ipcarg_t arg2); |
118 | void async_msg_2(int phoneid, ipcarg_t method, ipcarg_t arg1, ipcarg_t arg2); |
119 | #define async_msg(ph,m,a1) async_msg_2(ph,m,a1,0) |
119 | #define async_msg(ph, m, a1) async_msg_2(ph, m, a1, 0) |
120 | 120 | ||
121 | static inline void async_serialize_start(void) |
121 | static inline void async_serialize_start(void) |
122 | { |
122 | { |
123 | psthread_inc_sercount(); |
123 | psthread_inc_sercount(); |
124 | } |
124 | } |
- | 125 | ||
125 | static inline void async_serialize_end(void) |
126 | static inline void async_serialize_end(void) |
126 | { |
127 | { |
127 | psthread_dec_sercount(); |
128 | psthread_dec_sercount(); |
128 | } |
129 | } |
129 | 130 |