Rev 1356 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1316 | 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 | * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy) |
||
9 | * |
||
10 | * http://www.sssup.it |
||
11 | * http://retis.sssup.it |
||
12 | * http://shark.sssup.it |
||
13 | */ |
||
14 | |||
15 | /* |
||
16 | * Copyright (C) 2000 Paolo Gai, Luca Abeni |
||
17 | * |
||
18 | * This program is free software; you can redistribute it and/or modify |
||
19 | * it under the terms of the GNU General Public License as published by |
||
20 | * the Free Software Foundation; either version 2 of the License, or |
||
21 | * (at your option) any later version. |
||
22 | * |
||
23 | * This program is distributed in the hope that it will be useful, |
||
24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
26 | * GNU General Public License for more details. |
||
27 | * |
||
28 | * You should have received a copy of the GNU General Public License |
||
29 | * along with this program; if not, write to the Free Software |
||
30 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
||
31 | * |
||
32 | */ |
||
33 | |||
34 | #include "kernel/kern.h" |
||
1325 | giacomo | 35 | #include "drivers/shark_pci26.h" |
1316 | giacomo | 36 | |
1358 | giacomo | 37 | #include "drivers/fg.h" |
38 | |||
1356 | giacomo | 39 | extern int i2c_dev_init(void); |
40 | |||
1316 | giacomo | 41 | int main (int argc, char *argv[]) |
42 | { |
||
1330 | giacomo | 43 | unsigned long long i; |
1323 | giacomo | 44 | |
1325 | giacomo | 45 | PCI26_init(); |
1324 | giacomo | 46 | |
1356 | giacomo | 47 | i2c_init(); |
48 | i2c_dev_init(); |
||
49 | |||
1358 | giacomo | 50 | videodev_init(); |
1356 | giacomo | 51 | bttv_init_module(); |
52 | |||
53 | cprintf("Init Done...\n"); |
||
54 | |||
1358 | giacomo | 55 | for (i=0;i<100000000;i++); |
1326 | giacomo | 56 | |
1358 | giacomo | 57 | FG_init(0,0,320,200,FG_RGB24,1); |
58 | |||
59 | for (i=0;i<100000000;i++); |
||
60 | |||
1346 | giacomo | 61 | sys_end(); |
1327 | giacomo | 62 | |
1316 | giacomo | 63 | return 0; |
1323 | giacomo | 64 | |
1316 | giacomo | 65 | } |