diff options
| author | Michael Brown | 2005-04-10 20:20:38 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-10 20:20:38 +0200 |
| commit | d189b8453683fcee9abe2234980c2672f9db7ef3 (patch) | |
| tree | 3aae9d3c056708a65e6ffbf3b85048292da3eafe | |
| parent | arch_rm_main no longer exists. (diff) | |
| download | ipxe-d189b8453683fcee9abe2234980c2672f9db7ef3.tar.gz ipxe-d189b8453683fcee9abe2234980c2672f9db7ef3.tar.xz ipxe-d189b8453683fcee9abe2234980c2672f9db7ef3.zip | |
Fix up init ordering.
Make init function table name fixed; it's a static variable anyway.
| -rw-r--r-- | src/include/init.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/init.h b/src/include/init.h index 1b020ca78..206e15b52 100644 --- a/src/include/init.h +++ b/src/include/init.h @@ -37,14 +37,15 @@ struct init_fn { #define INIT_CONSOLE "01" #define INIT_CPU "02" #define INIT_TIMERS "03" -#define INIT_PCMCIA "04" -#define INIT_MEMSIZES "05" -#define INIT_HEAP "06" +#define INIT_MEMSIZES "04" +#define INIT_RELOCATE "05" +#define INIT_PCMCIA "05" +#define INIT_HEAP "07" /* Macro for creating an initialisation function table entry */ #define INIT_FN( init_order, init_func, reset_func, exit_func ) \ - static struct init_fn init_ ## init_func ## _ ## exit_func \ - __attribute__ ((used,__section__(".init_fns." init_order))) = { \ + static struct init_fn init_functions \ + __attribute__ ((used,__section__(".init_fns." init_order))) = { \ .init = init_func, \ .reset = reset_func, \ .exit = exit_func, \ |
