Subversion Repositories shark

Rev

Rev 472 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
471 giacomo 1
/*
2
 * Project: S.Ha.R.K.
3
 *
4
 * Coordinators:
5
 *   Giorgio Buttazzo    <giorgio@sssup.it>
6
 *   Paolo Gai           <pj@gandalf.sssup.it>
7
 *
8
 * Authors     :
9
 *   Giacomo Guidi       <giacomo@gandalf.sssup.it>
10
 *
11
 *
12
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
13
 *
14
 * http://www.sssup.it
15
 * http://retis.sssup.it
16
 * http://shark.sssup.it
17
 */
18
 
19
/* Glue Layer for Frame Buffer 2.6 Driver */
20
 
21
#include <kernel/kern.h>
22
 
23
extern int fbmem_init(void);
24
extern int fb_open_inode(int num);
25
extern int fb_close_inode(int num);
26
 
27
/* Init the Linux PCI 2.6 Driver */
28
int FB26_init() {
29
 
30
  fbmem_init();
31
 
32
  return 0;
33
 
34
}
35
 
36
int FB26_open(int num) {
37
 
38
  fb_open_inode(num);
39
 
40
  return 0;
41
 
42
}
43
 
44
int FB26_close(int num) {
45
 
46
  fb_close_inode(num);
47
 
48
  return 0;
49
 
50
}