2008-12-11 20:30:53 +00:00
|
|
|
/*
|
2006-04-26 15:08:19 +00:00
|
|
|
* Creation Date: <2003/12/23 00:28:05 samuel>
|
|
|
|
|
* Time-stamp: <2003/12/28 19:43:41 samuel>
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
* <init.c>
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
* Module intialization
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
* Copyright (C) 2003 Samuel Rydh (samuel@ibrium.se)
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
|
* version 2
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
*/
|
|
|
|
|
|
2010-03-14 17:19:58 +00:00
|
|
|
#include "config.h"
|
2010-03-14 14:21:02 +00:00
|
|
|
#include "kernel/kernel.h"
|
2010-03-13 10:58:19 +00:00
|
|
|
#include "packages.h"
|
2006-04-26 15:08:19 +00:00
|
|
|
|
|
|
|
|
void
|
|
|
|
|
modules_init( void )
|
|
|
|
|
{
|
|
|
|
|
#ifdef CONFIG_CMDLINE
|
|
|
|
|
cmdline_init();
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef CONFIG_DEBLOCKER
|
|
|
|
|
deblocker_init();
|
2008-12-11 20:30:53 +00:00
|
|
|
#endif
|
2006-04-26 15:08:19 +00:00
|
|
|
#ifdef CONFIG_DISK_LABEL
|
|
|
|
|
disklabel_init();
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef CONFIG_FS
|
2010-03-13 10:58:19 +00:00
|
|
|
files_init();
|
2006-04-26 15:08:19 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef CONFIG_MAC_PARTS
|
|
|
|
|
macparts_init();
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef CONFIG_PC_PARTS
|
|
|
|
|
pcparts_init();
|
|
|
|
|
#endif
|
2006-05-07 16:40:13 +00:00
|
|
|
#ifdef CONFIG_SUN_PARTS
|
|
|
|
|
sunparts_init();
|
|
|
|
|
#endif
|
2009-09-18 23:32:59 +00:00
|
|
|
#ifdef CONFIG_PPC
|
2009-09-18 22:59:30 +00:00
|
|
|
elf_loader_init();
|
2009-09-19 21:44:05 +00:00
|
|
|
xcoff_loader_init();
|
2009-09-20 20:15:46 +00:00
|
|
|
bootinfo_loader_init();
|
2009-09-18 23:32:59 +00:00
|
|
|
#endif
|
2010-01-02 12:49:30 +00:00
|
|
|
#ifdef CONFIG_SPARC64
|
|
|
|
|
elf_loader_init();
|
|
|
|
|
#endif
|
2006-04-26 15:08:19 +00:00
|
|
|
}
|