00001 /***************************************************************************************** 00002 Copyright (c) 2002-2004 The UbixOS Project 00003 All rights reserved. 00004 00005 Redistribution and use in source and binary forms, with or without modification, are 00006 permitted provided that the following conditions are met: 00007 00008 Redistributions of source code must retain the above copyright notice, this list of 00009 conditions, the following disclaimer and the list of authors. Redistributions in binary 00010 form must reproduce the above copyright notice, this list of conditions, the following 00011 disclaimer and the list of authors in the documentation and/or other materials provided 00012 with the distribution. Neither the name of the UbixOS Project nor the names of its 00013 contributors may be used to endorse or promote products derived from this software 00014 without specific prior written permission. 00015 00016 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 00017 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 00018 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 00019 THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00020 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 00021 OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00022 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 00023 TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00024 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00025 00026 $Id: init_8h-source.html 88 2016-01-12 00:11:29Z reddawg $ 00027 00028 *****************************************************************************************/ 00029 00030 #ifndef _INIT_H 00031 #define _INIT_H 00032 00033 #include <vmm/vmm.h> 00034 #include <vfs/vfs.h> 00035 #include <isa/8259.h> 00036 #include <sys/idt.h> 00037 #include <ubixos/sched.h> 00038 #include <isa/pit.h> 00039 #include <isa/atkbd.h> 00040 #include <ubixos/time.h> 00041 #include <net/net.h> 00042 #include <isa/ne2k.h> 00043 #include <devfs/devfs.h> 00044 #include <pci/pci.h> 00045 #include <ubixfs/ubixfs.h> 00046 #include <isa/fdc.h> 00047 #include <ubixos/tty.h> 00048 #include <ufs/ufs.h> 00049 #include <ubixos/static.h> 00050 #include <pci/hd.h> 00051 #include <sys/kern_sysctl.h> 00052 #include <ubixos/vitals.h> 00053 00054 typedef int (*intFunctionPTR)(void); 00055 00056 intFunctionPTR init_tasks[] = { 00057 vmm_init, 00058 static_constructors, 00059 i8259_init, 00060 idt_init, 00061 vitals_init, 00062 sysctl_init, 00063 vfs_init, 00064 sched_init, 00065 pit_init, 00066 atkbd_init, 00067 time_init, 00068 //net_init, 00069 //ne2k_init, 00070 devfs_init, 00071 //pci_init, 00072 //ubixfs_init, 00073 //fdc_init, 00074 tty_init, 00075 ufs_init, 00076 initHardDisk, 00077 }; 00078 00079 int init_tasksTotal = sizeof(init_tasks)/sizeof(intFunctionPTR); 00080 00081 #endif 00082 00083 /*** 00084 END 00085 ***/