Rev 1141 | Rev 1258 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1141 | Rev 1223 | ||
---|---|---|---|
Line 112... | Line 112... | ||
112 | spinlock_unlock(&box->lock); |
112 | spinlock_unlock(&box->lock); |
113 | 113 | ||
114 | spinlock_unlock(&phone->lock); |
114 | spinlock_unlock(&phone->lock); |
115 | } |
115 | } |
116 | 116 | ||
117 | /** Initialize phone structure and connect phone to naswerbox |
117 | /** Initialize phone structure and connect phone to answerbox |
118 | */ |
118 | */ |
119 | void ipc_phone_init(phone_t *phone) |
119 | void ipc_phone_init(phone_t *phone) |
120 | { |
120 | { |
121 | spinlock_initialize(&phone->lock, "phone_lock"); |
121 | spinlock_initialize(&phone->lock, "phone_lock"); |
122 | phone->callee = NULL; |
122 | phone->callee = NULL; |