Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1447 → Rev 1451

/uspace/trunk/fb/fb.c
126,7 → 126,7
ipc_call_t call;
int vfb = vfb_no++;
 
if (vfb > 9) {
if (vfb > VFB_CONNECTIONS) {
ipc_answer_fast(iid, ELIMIT, 0,0);
return;
}
535,7 → 535,7
if(EFB==(item_new=get_free_item()))return EFB;
if( (graphics_items[item_new]=malloc(sizeof(framebuffer_descriptor_t))) ==NULL)
if( (graphics_items[item_new]=malloc(sizeof(framebuffer_descriptor_t))) == NULL)
{
return EFB;
}
/uspace/trunk/fb/fb.h
32,6 → 32,8
#include <types.h>
#include <arch/types.h>
 
#define VFB_CONNECTIONS 9
 
//void fb_init(int item,__address addr, unsigned int x, unsigned int y, unsigned int bpp, unsigned int scan);
 
#endif