Chameleon

Chameleon Commit Details

Date:2011-06-25 18:49:25 (12 years 9 months ago)
Author:Evan Lojewski
Commit:1071
Parents: 1070
Message:Module templates....
Changes:
A/branches/rewrite/i386/modules/FileSystem/Cconfig
A/branches/rewrite/i386/modules/FileSystem/HFS/Cconfig
A/branches/rewrite/i386/modules/BiosDisk/Cconfig
A/branches/rewrite/i386/modules/FileSystem/HFS/Makefile
A/branches/rewrite/i386/modules/FileSystem/Makefile
A/branches/rewrite/i386/modules/FileSystem
A/branches/rewrite/i386/modules/FileSystem/HFS
A/branches/rewrite/i386/modules/BiosDisk/Makefile
A/branches/rewrite/i386/modules/BiosDisk
M/branches/rewrite/i386/boot2/boot.c
M/branches/rewrite/i386/modules/Cconfig

File differences

branches/rewrite/i386/boot2/boot.c
168168
169169
170170
171
171
172
173
174
175
176
177
*/
// Intialize module system
init_module_system();
}
UInt32 loopCount = 0;
while(1)
{
execute_hook("WorkLoop", (void*)loopCount++, NULL, NULL, NULL);// Main work loop
}
}
branches/rewrite/i386/modules/FileSystem/HFS/Cconfig
1
2
3
4
5
6
7
8
9
10
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.
branches/rewrite/i386/modules/FileSystem/HFS/Makefile
1
2
3
4
5
6
7
8
9
10
11
12
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
branches/rewrite/i386/modules/FileSystem/Cconfig
1
2
3
4
5
6
7
8
9
10
11
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"
branches/rewrite/i386/modules/FileSystem/Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
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
branches/rewrite/i386/modules/BiosDisk/Cconfig
1
2
3
4
5
6
7
8
9
10
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.
branches/rewrite/i386/modules/BiosDisk/Makefile
1
2
3
4
5
6
7
8
9
10
11
12
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
branches/rewrite/i386/modules/Cconfig
33
44
55
6
6
77
88
9
10
11
12
913
1014
#
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

Archive Download the corresponding diff file

Revision: 1071