Subversion Repositories shark

Rev

Rev 1327 | Go to most recent revision | 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"
35
#include "drivers/keyb.h"
1325 giacomo 36
#include "drivers/shark_linuxc26.h"
37
#include "drivers/shark_pci26.h"
1327 giacomo 38
#include "drivers/shark_fb26.h"
1316 giacomo 39
 
1327 giacomo 40
extern int FB26_init();
1316 giacomo 41
 
42
int main (int argc, char *argv[])
43
{
1327 giacomo 44
    unsigned long i;
1323 giacomo 45
 
1325 giacomo 46
    LINUXC26_register_module();
47
    PCI26_init();
1324 giacomo 48
 
1327 giacomo 49
    FB26_init();
1326 giacomo 50
 
1327 giacomo 51
    FB26_open(0);
1326 giacomo 52
 
1328 giacomo 53
    //FB26_set_mode(0,800,600,24);
54
 
1327 giacomo 55
    for (i=0;i<1000000000;i++);
56
 
57
    FB26_close(0);  
58
 
1316 giacomo 59
    return 0;
1323 giacomo 60
 
1316 giacomo 61
}