Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 470 → Rev 471

/shark/trunk/config/libdep.mk
86,6 → 86,18
 
endif
 
# Frame Buffer
# ----------------------------------------------------------------
ifeq ($(findstring __FB__,$(USELIB)) , __FB__)
INCL += -I$(BASE)/drivers/fb/include -I$(BASE)/drivers/linuxc26/include
ifeq ($(LIB_PATH)/libfb.a,$(wildcard $(LIB_PATH)/libfb.a))
LINK_LIB += -lfb
LIB_DEP += $(LIB_PATH)/libfb.a
endif
endif
 
# oldchar
# ----------------------------------------------------------------
/shark/trunk/drivers/fb/include/drivers/shark_fb26.c
File deleted
/shark/trunk/drivers/fb/include/drivers/shark_fb26.h
0,0 → 1,34
/*
* Project: S.Ha.R.K.
*
* Coordinators:
* Giorgio Buttazzo <giorgio@sssup.it>
* Paolo Gai <pj@gandalf.sssup.it>
*
* Authors :
* Giacomo Guidi <giacomo@gandalf.sssup.it>
*
*
* ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
*
* http://www.sssup.it
* http://retis.sssup.it
* http://shark.sssup.it
*/
 
/* Glue Layer Header Linux Frame Buffer 2.6 Driver*/
 
#ifndef __SHARK_FB26__
#define __SHARK_FB26__
 
/* Init the FB 2.6 Driver */
int FB26_init(void);
 
/* Open the FB */
int FB26_open(int num);
 
/* Close the FB */
int FB26_close(int num);
 
#endif
 
/shark/trunk/drivers/fb/shark_fb26.c
0,0 → 1,50
/*
* Project: S.Ha.R.K.
*
* Coordinators:
* Giorgio Buttazzo <giorgio@sssup.it>
* Paolo Gai <pj@gandalf.sssup.it>
*
* Authors :
* Giacomo Guidi <giacomo@gandalf.sssup.it>
*
*
* ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
*
* http://www.sssup.it
* http://retis.sssup.it
* http://shark.sssup.it
*/
 
/* Glue Layer for Frame Buffer 2.6 Driver */
#include <kernel/kern.h>
 
extern int fbmem_init(void);
extern int fb_open_inode(int num);
extern int fb_close_inode(int num);
 
/* Init the Linux PCI 2.6 Driver */
int FB26_init() {
 
fbmem_init();
 
return 0;
 
}
 
int FB26_open(int num) {
 
fb_open_inode(num);
 
return 0;
 
}
 
int FB26_close(int num) {
 
fb_close_inode(num);
return 0;
 
}