Subversion Repositories shark

Rev

Rev 1120 | Rev 1377 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1120 pj 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
 
1375 giacomo 36
#include "drivers/shark_linuxc26.h"
37
#include "drivers/shark_pci26.h"
1120 pj 38
 
1375 giacomo 39
int device_drivers_init() {
40
 
41
        LINUXC26_register_module();
42
 
43
        PCI26_init();
1120 pj 44
 
1375 giacomo 45
        return 0;
46
 
1120 pj 47
}
48
 
1375 giacomo 49
int device_drivers_close() {
50
 
51
        return 0;
52
 
1120 pj 53
}
54
 
1375 giacomo 55
 
1120 pj 56
int main (int argc, char *argv[])
57
{
58
 
1375 giacomo 59
        unsigned long long i;
60
 
61
        device_drivers_init();
62
 
63
        cprintf("Init Done...\n");
64
 
65
        for (i=0;i<100000000;i++);
66
 
67
        device_drivers_close();
68
 
69
        sys_end();
70
 
71
        return 0;
72
 
1120 pj 73
}