Index: branches/rewrite/i386/boot2/boot.c =================================================================== --- branches/rewrite/i386/boot2/boot.c (revision 1070) +++ branches/rewrite/i386/boot2/boot.c (revision 1071) @@ -168,4 +168,10 @@ */ // Intialize module system init_module_system(); -} \ No newline at end of file + + UInt32 loopCount = 0; + while(1) + { + execute_hook("WorkLoop", (void*)loopCount++, NULL, NULL, NULL); // Main work loop + } +} Index: branches/rewrite/i386/modules/FileSystem/HFS/Cconfig =================================================================== --- branches/rewrite/i386/modules/FileSystem/HFS/Cconfig (revision 0) +++ branches/rewrite/i386/modules/FileSystem/HFS/Cconfig (revision 1071) @@ -0,0 +1,11 @@ +# +# Chameleon Modules +# + +config HFS_MODULE + tristate "HFS Support" + default y + depends on FILESYSTEM_MODULE + ---help--- + Say Y here if you want to enable reading / writing HFS file systems. + Index: branches/rewrite/i386/modules/FileSystem/HFS/Makefile =================================================================== --- branches/rewrite/i386/modules/FileSystem/HFS/Makefile (revision 0) +++ branches/rewrite/i386/modules/FileSystem/HFS/Makefile (revision 1071) @@ -0,0 +1,13 @@ +MODULE_NAME = HelloWorld +MODULE_DESCRIPTION = This module provides an example implementation of a module. Should not be used for regular bootup +MODULE_AUTHOR = +MODULE_VERSION = "1.0.0" +MODULE_COMPAT_VERSION = "1.0.0" +MODULE_START = $(MODULE_NAME)_start +MODULE_DEPENDENCIES = uClibcxx + +DIR = HelloWorld + +MODULE_OBJS = HelloWorld.o + +include ../MakeInc.dir \ No newline at end of file Index: branches/rewrite/i386/modules/FileSystem/Cconfig =================================================================== --- branches/rewrite/i386/modules/FileSystem/Cconfig (revision 0) +++ branches/rewrite/i386/modules/FileSystem/Cconfig (revision 1071) @@ -0,0 +1,12 @@ +# +# Chameleon Modules +# + +config FILESYSTEM_MODULE + tristate "FileSystem" + default y + depends on BIOSDISK_MODULE + ---help--- + Say Y here if you want to enable to use of this module. + +source "i386/modules/FileSystem/HFS/Cconfig" Index: branches/rewrite/i386/modules/FileSystem/Makefile =================================================================== --- branches/rewrite/i386/modules/FileSystem/Makefile (revision 0) +++ branches/rewrite/i386/modules/FileSystem/Makefile (revision 1071) @@ -0,0 +1,14 @@ +MODULE_NAME = FileSystem +MODULE_DESCRIPTION = This module provides an api for talking implementing and talking to a filesystem driver. +MODULE_AUTHOR = +MODULE_VERSION = "1.0.0" +MODULE_COMPAT_VERSION = "1.0.0" +MODULE_START = $(MODULE_NAME)_start +MODULE_DEPENDENCIES = uClibcxx BiosDisk + +DIR = HelloWorld +SUBDIRS = HFS + +MODULE_OBJS = FileSystem.o + +include ../MakeInc.dir \ No newline at end of file Index: branches/rewrite/i386/modules/BiosDisk/Cconfig =================================================================== --- branches/rewrite/i386/modules/BiosDisk/Cconfig (revision 0) +++ branches/rewrite/i386/modules/BiosDisk/Cconfig (revision 1071) @@ -0,0 +1,11 @@ +# +# Chameleon Modules +# + +config BIOSDISK_MODULE + tristate "BiosDisk" + default y + depends on UCLIBCXX_MODULE + ---help--- + Say Y here if you want to enable to use of this module. + Index: branches/rewrite/i386/modules/BiosDisk/Makefile =================================================================== --- branches/rewrite/i386/modules/BiosDisk/Makefile (revision 0) +++ branches/rewrite/i386/modules/BiosDisk/Makefile (revision 1071) @@ -0,0 +1,13 @@ +MODULE_NAME = BiosDisk +MODULE_DESCRIPTION = This module provides for an api to interact with the bios to read standard disks. +MODULE_AUTHOR = +MODULE_VERSION = "1.0.0" +MODULE_COMPAT_VERSION = "1.0.0" +MODULE_START = $(MODULE_NAME)_start +MODULE_DEPENDENCIES = uClibcxx + +DIR = BiosDisk + +MODULE_OBJS = BiosDisk.o + +include ../MakeInc.dir \ No newline at end of file Index: branches/rewrite/i386/modules/Cconfig =================================================================== --- branches/rewrite/i386/modules/Cconfig (revision 1070) +++ branches/rewrite/i386/modules/Cconfig (revision 1071) @@ -3,8 +3,12 @@ # menu "Modules" -source "i386/modules/Resolution/Cconfig" +# NOTE BiosDisk, FileSystem should both be enabled as well as at least one file system driver source "i386/modules/klibc/Cconfig" source "i386/modules/uClibcxx/Cconfig" +source "i386/modules/BiosDisk/Cconfig" +source "i386/modules/FileSystem/Cconfig" + +source "i386/modules/Resolution/Cconfig" source "i386/modules/HelloWorld/Cconfig" endmenu \ No newline at end of file