Chameleon

Chameleon Commit Details

Date:2011-05-27 04:44:54 (8 years 1 month ago)
Author:Evan Lojewski
Commit:892
Parents: 891
Message:Start compiled in modules
Changes:
M/trunk/i386/modules/Makefile
M/trunk/i386/boot2/modules.c
M/trunk/i386/boot2/Makefile

File differences

trunk/i386/boot2/Makefile
7676
7777
7878
79
7980
8081
8182
endif
@${MKDIRS} $(OBJROOT)/../boot2_modules/
@echo "\t[LD] boot.sys"
@$(CC) -Wl,-segaddr,__INIT,$(BOOT2ADDR) -Wl,-segalign,20 -Wl,-preload \
-nostdlib -arch i386 -static \
trunk/i386/boot2/modules.c
1010
1111
1212
13
1314
1415
1516
......
4041
4142
4243
44
45
46
47
4348
4449
4550
#include "boot.h"
#include "bootstruct.h"
#include "modules.h"
#include "boot_modules.h"
#if CONFIG_MODULE_DEBUG
*/
int init_module_system()
{
// Start any modules that were compiled in first.
start_built_in_modules();
int retVal = 0;
void (*module_start)(void) = NULL;
char* module_data = symbols_module_start + BOOT2_ADDR;
trunk/i386/modules/Makefile
2222
2323
2424
25
25
2626
2727
2828
......
4343
4444
4545
46
46
47
48
49
4750
4851
4952
ifeq (${CONFIG_MODULES}, y)
all install: $(SYMROOT) $(OBJROOT) objroot_dirs $(SYMROOT)/boot_modules.c $(SYMROOT)/boot_modules.h
all: $(SYMROOT) $(OBJROOT) objroot_dirs $(SYMROOT)/boot_modules.c $(SYMROOT)/boot_modules.h
@for i in ${SUBDIRS}; \
do \
echo ================= make $@ for $$i =================; \
else
all:
all: $(SYMROOT) $(OBJROOT) objroot_dirs $(SYMROOT)/boot_modules.c $(SYMROOT)/boot_modules.h
@# Finish up boot_modules.c
@echo "}" >> $(SYMROOT)/boot_modules.c
endif
.PHONY: objroot_dirs

Archive Download the corresponding diff file

Revision: 892