|
@@ -141,21 +141,6 @@ static int exit_status;
|
141
|
141
|
static int initialized;
|
142
|
142
|
|
143
|
143
|
|
144
|
|
-/**************************************************************************
|
145
|
|
- * initialise() - perform any C-level initialisation
|
146
|
|
- *
|
147
|
|
- * This does not include initialising the NIC, but it does include
|
148
|
|
- * e.g. getting the memory map, relocating to high memory,
|
149
|
|
- * initialising the console, etc.
|
150
|
|
- **************************************************************************
|
151
|
|
- */
|
152
|
|
-void initialise ( void ) {
|
153
|
|
- /* Zero the BSS */
|
154
|
|
- memset ( _bss, 0, _ebss - _bss );
|
155
|
|
-
|
156
|
|
- /* Call all registered initialisation functions */
|
157
|
|
- call_init_fns ();
|
158
|
|
-}
|
159
|
144
|
|
160
|
145
|
/**************************************************************************
|
161
|
146
|
MAIN - Kick off routine
|
|
@@ -165,6 +150,9 @@ int main ( void ) {
|
165
|
150
|
void *image_context;
|
166
|
151
|
int skip = 0;
|
167
|
152
|
|
|
153
|
+ /* Call all registered initialisation functions */
|
|
154
|
+ call_init_fns ();
|
|
155
|
+
|
168
|
156
|
/* Print out configuration */
|
169
|
157
|
print_config();
|
170
|
158
|
|