summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/main.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/core/main.c b/src/core/main.c
index f6448e805..13aae4cf8 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -141,21 +141,6 @@ static int exit_status;
static int initialized;
-/**************************************************************************
- * initialise() - perform any C-level initialisation
- *
- * This does not include initialising the NIC, but it does include
- * e.g. getting the memory map, relocating to high memory,
- * initialising the console, etc.
- **************************************************************************
- */
-void initialise ( void ) {
- /* Zero the BSS */
- memset ( _bss, 0, _ebss - _bss );
-
- /* Call all registered initialisation functions */
- call_init_fns ();
-}
/**************************************************************************
MAIN - Kick off routine
@@ -165,6 +150,9 @@ int main ( void ) {
void *image_context;
int skip = 0;
+ /* Call all registered initialisation functions */
+ call_init_fns ();
+
/* Print out configuration */
print_config();