Subversion Repositories HelenOS-historic

Rev

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

Rev 1447 Rev 1451
Line 124... Line 124...
124
{
124
{
125
    ipc_callid_t callid;
125
    ipc_callid_t callid;
126
    ipc_call_t call;
126
    ipc_call_t call;
127
    int vfb = vfb_no++;
127
    int vfb = vfb_no++;
128
 
128
 
129
    if (vfb > 9) {
129
    if (vfb > VFB_CONNECTIONS) {
130
        ipc_answer_fast(iid, ELIMIT, 0,0);
130
        ipc_answer_fast(iid, ELIMIT, 0,0);
131
        return;
131
        return;
132
    }
132
    }
133
    ipc_answer_fast(iid, 0, 0, 0);
133
    ipc_answer_fast(iid, 0, 0, 0);
134
 
134
 
Line 533... Line 533...
533
    int item_new;
533
    int item_new;
534
   
534
   
535
    if(EFB==(item_new=get_free_item()))return EFB;
535
    if(EFB==(item_new=get_free_item()))return EFB;
536
   
536
   
537
   
537
   
538
    if( (graphics_items[item_new]=malloc(sizeof(framebuffer_descriptor_t))) ==NULL)
538
    if( (graphics_items[item_new]=malloc(sizeof(framebuffer_descriptor_t))) == NULL)
539
    {
539
    {
540
        return EFB;
540
        return EFB;
541
    }
541
    }
542
   
542
   
543
   
543