Subversion Repositories HelenOS-historic

Rev

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

Rev 1072 Rev 1083
Line 70... Line 70...
70
    spinlock_lock(&phone->lock);
70
    spinlock_lock(&phone->lock);
71
    if (!phone->callee) {
71
    if (!phone->callee) {
72
        spinlock_unlock(&phone->lock);
72
        spinlock_unlock(&phone->lock);
73
        return NULL;
73
        return NULL;
74
    }
74
    }
-
 
75
    /* TODO... */
-
 
76
    spinlock_unlock(&phone->lock);
75
    return phone;
77
    return phone;
76
}
78
}
77
 
79
 
78
/** Allocate new phone slot in current TASK structure */
80
/** Allocate new phone slot in current TASK structure */
79
int phone_alloc(void)
81
int phone_alloc(void)