UbixOS  2.0
init.h
Go to the documentation of this file.
1 /*-
2  * Copyright (c) 2002-2018 The UbixOS Project.
3  * All rights reserved.
4  *
5  * This was developed by Christopher W. Olsen for the UbixOS Project.
6  *
7  * Redistribution and use in source and binary forms, with or without modification, are permitted
8  * provided that the following conditions are met:
9  *
10  * 1) Redistributions of source code must retain the above copyright notice, this list of
11  * conditions, the following disclaimer and the list of authors.
12  * 2) Redistributions in binary form must reproduce the above copyright notice, this list of
13  * conditions, the following disclaimer and the list of authors in the documentation and/or
14  * other materials provided with the distribution.
15  * 3) Neither the name of the UbixOS Project nor the names of its contributors may be used to
16  * endorse or promote products derived from this software without specific prior written
17  * permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
20  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
22  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
24  * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
26  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27  */
28 
29 #ifndef _UBIXOS_INIT_H
30 #define _UBIXOS_INIT_H
31 
32 #include <vmm/vmm.h>
33 #include <vfs/vfs.h>
34 #include <isa/8259.h>
35 #include <sys/idt.h>
36 #include <ubixos/sched.h>
37 #include <isa/pit.h>
38 #include <isa/atkbd.h>
39 #include <ubixos/time.h>
40 #include <net/net.h>
41 #include <isa/ne2k.h>
42 #include <devfs/devfs.h>
43 #include <pci/pci.h>
44 #include <ubixfs/ubixfs.h>
45 #include <isa/fdc.h>
46 #include <ubixos/tty.h>
47 #include <ufs/ufs.h>
48 #include <fat/fat.h>
49 #include <ubixos/static.h>
50 #include <pci/hd.h>
51 #include <sys/kern_sysctl.h>
52 #include <ubixos/vitals.h>
53 #include <ubixos/syscalls.h>
54 #include <pci/lnc.h>
55 
56 typedef int (*intFunctionPTR)(void);
57 
59 
60 //ne2k_init,
61 //ubixfs_init,
62 //fdc_init,
63 
64 int init_tasksTotal = sizeof(init_tasks) / sizeof(intFunctionPTR);
65 
66 #endif /* END _UBIXOS_INIT_H */
8259.h
i8259_init
int i8259_init()
initialize the 8259 PIC
Definition: 8259.c:41
pit_init
int pit_init()
Definition: pit.c:62
ne2k.h
syscalls.h
kern_sysctl.h
init_tasksTotal
int init_tasksTotal
Definition: init.h:64
fdc.h
static_constructors
int static_constructors(void)
Definition: static.c:30
vfs.h
idt.h
initHardDisk
int initHardDisk()
Definition: hd.c:42
vitals_init
int vitals_init()
Definition: vitals.c:47
init_tasks
intFunctionPTR init_tasks[]
Definition: init.h:58
vmm.h
sched_init
int sched_init()
Definition: sched.c:66
sched.h
pci.h
pit.h
idt_init
int idt_init()
Definition: idt.c:109
pci_init
int pci_init()
Definition: pci.c:244
time.h
atkbd_init
int atkbd_init()
Definition: atkbd.c:154
atkbd.h
vitals.h
initLNC
int initLNC()
Definition: lnc.c:94
tty.h
hd.h
fat_init
int fat_init()
Definition: fat.c:180
ufs_init
int ufs_init()
Definition: ufs.c:313
devfs.h
ubixfs.h
ufs.h
net_init
int net_init()
Definition: init.c:52
intFunctionPTR
int(* intFunctionPTR)(void)
Definition: init.h:56
sysctl_init
int sysctl_init()
Definition: kern_sysctl.c:147
fat.h
vfs_init
int vfs_init()
Definition: vfs.c:46
net.h
static.h
devfs_init
int devfs_init()
Definition: devfs.c:211
time_init
int time_init()
Definition: time.c:52
tty_init
int tty_init()
Definition: tty.c:41
lnc.h