Subversion Repositories shark

Rev

Rev 1323 | 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"
36
 
37
extern int pci_init(void);
38
 
39
int main (int argc, char *argv[])
40
{
1323 giacomo 41
    void *test;
42
 
1324 giacomo 43
    cprintf("DEVICES SUBSYS\n");
44
    devices_init();
45
    cprintf("BUS SUBSYS\n");
46
    buses_init();
47
 
1323 giacomo 48
    cprintf("Direct INIT\n");
49
    pci_direct_init();
50
    cprintf("Bios INIT\n");
51
    pcibios_init();
1324 giacomo 52
    cprintf("Driver INIT\n");
53
    pci_driver_init();
54
 
1323 giacomo 55
    cprintf("Legacy\n");
56
    pci_legacy_init();
57
 
58
    cprintf("Pci INIT\n");
1316 giacomo 59
    pci_init();
60
 
61
    return 0;
1323 giacomo 62
 
1316 giacomo 63
}