Sebastian Huber
d0c3983814
Use linker set for system initialization
...
Make rtems_initialize_data_structures(),
rtems_initialize_before_drivers() and rtems_initialize_device_drivers()
static. Rename rtems_initialize_start_multitasking() to
rtems_initialize_executive() and call the registered system
initialization handlers in this function. Add system initialization API
available via #include <rtems/sysinit.h>. Update the documentation
accordingly.
This is no functional change, only the method to call the existing
initialization routines changes. Instead of direct function calls a
table of function pointers contained in the new RTEMS system
initialization linker set is used. This table looks like this (the
actual addresses depend on the target).
nm *.exe | grep _Linker | sort
0201a2d0 D _Linker_set__Sysinit_begin
0201a2d0 D _Linker_set__Sysinit_bsp_work_area_initialize
0201a2d4 D _Linker_set__Sysinit_bsp_start
0201a2d8 D _Linker_set__Sysinit_rtems_initialize_data_structures
0201a2dc D _Linker_set__Sysinit_bsp_libc_init
0201a2e0 D _Linker_set__Sysinit_rtems_initialize_before_drivers
0201a2e4 D _Linker_set__Sysinit_bsp_predriver_hook
0201a2e8 D _Linker_set__Sysinit_rtems_initialize_device_drivers
0201a2ec D _Linker_set__Sysinit_bsp_postdriver_hook
0201a2f0 D _Linker_set__Sysinit_end
Add test sptests/spsysinit01.
Update #2408 .
2015-12-11 08:17:16 +01:00
..
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2015-03-05 11:36:19 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2015-03-17 10:05:04 -05:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2015-03-24 08:16:31 -05:00
2015-04-23 12:48:04 -05:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-09-04 09:08:05 -05:00
2015-03-24 08:16:32 -05:00
2014-04-10 12:37:40 +02:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-21 08:10:47 +11:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2015-03-24 08:16:33 -05:00
2015-03-24 08:16:33 -05:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2015-06-26 09:22:41 +02:00
2014-03-25 08:06:21 +01:00
2015-06-22 08:40:26 +02:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-31 08:29:42 +02:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2015-02-12 20:53:36 +01:00
2015-02-12 20:53:36 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-08-20 08:17:49 +02:00
2015-04-17 10:47:21 +02:00
2014-03-21 08:10:47 +11:00
2015-03-24 08:17:02 -05:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-07-14 19:41:31 -05:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-11-21 08:52:29 +01:00
2014-03-25 08:06:21 +01:00
2014-05-23 08:57:32 +02:00
2014-03-21 08:10:47 +11:00
2014-03-25 08:06:21 +01:00
2015-04-16 20:29:29 +02:00
2015-06-15 13:20:17 -05:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-04-14 16:05:52 -05:00
2014-03-25 08:06:21 +01:00
2015-02-26 10:20:47 +01:00
2014-03-25 08:06:21 +01:00
2014-05-22 16:38:01 +10:00
2014-03-25 08:06:21 +01:00
2015-09-26 21:23:53 +02:00
2015-03-05 11:23:10 +01:00
2014-03-25 08:06:21 +01:00
2015-03-17 10:05:07 -05:00
2015-03-17 10:05:08 -05:00
2015-11-05 11:30:09 +01:00
2015-05-20 08:40:33 +02:00
2014-03-25 08:06:21 +01:00
2015-03-17 10:05:07 -05:00
2015-06-09 09:28:36 +02:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2015-04-14 15:00:57 -05:00
2014-03-25 08:06:21 +01:00
2015-03-24 08:16:35 -05:00
2015-03-17 10:05:07 -05:00
2014-03-25 16:46:37 +01:00
2014-03-25 16:46:37 +01:00
2014-03-25 16:46:37 +01:00
2015-03-20 15:42:34 +01:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-25 08:06:21 +01:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-09-10 14:46:03 +02:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-25 08:06:21 +01:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-24 08:31:49 +01:00
2014-03-21 08:10:47 +11:00
2014-03-25 08:06:21 +01:00
2014-03-31 08:29:42 +02:00
2014-04-03 11:13:25 +02:00
2015-10-26 09:13:19 +01:00
2014-12-16 11:34:38 +01:00
2015-02-09 19:09:23 +01:00
2015-02-09 19:09:23 +01:00
2015-02-09 19:09:23 +01:00
2015-02-09 19:09:23 +01:00
2015-07-01 08:24:45 +02:00
2014-10-14 12:12:32 +02:00
2014-12-16 11:34:38 +01:00
2014-04-15 08:37:11 +02:00
2015-03-22 14:31:59 +01:00
2015-03-20 15:42:34 +01:00
2015-05-19 12:00:45 +02:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-03-21 08:10:47 +11:00
2014-09-10 07:12:55 +02:00
2014-03-21 08:10:47 +11:00
2015-05-19 12:00:42 +02:00
2015-05-19 12:00:45 +02:00
2015-05-19 12:00:45 +02:00
2014-09-10 07:12:55 +02:00
2014-03-21 08:10:47 +11:00
2014-09-10 07:12:55 +02:00
2014-03-21 08:10:47 +11:00
2014-09-10 07:12:55 +02:00
2015-05-19 12:00:45 +02:00
2015-05-19 12:00:43 +02:00
2014-09-10 07:12:55 +02:00
2015-05-19 12:00:45 +02:00
2015-03-05 11:36:45 +01:00
2015-05-19 12:00:45 +02:00
2015-05-19 12:00:45 +02:00
2014-12-03 11:19:53 +01:00
2015-12-08 09:25:22 +01:00
2014-12-16 11:34:38 +01:00
2014-03-25 08:06:21 +01:00
2014-12-16 11:34:38 +01:00
2015-03-20 15:42:34 +01:00
2015-03-20 15:42:34 +01:00
2015-03-17 10:05:07 -05:00
2015-03-17 10:05:04 -05:00
2015-03-05 11:23:10 +01:00
2015-07-23 08:01:13 +02:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2015-03-20 15:42:34 +01:00
2014-03-25 09:47:19 +01:00
2014-03-27 14:50:36 +01:00
2014-12-16 11:34:38 +01:00
2015-03-17 10:05:07 -05:00
2015-03-20 15:42:34 +01:00
2015-09-03 13:58:16 +02:00
2015-12-07 13:11:07 +01:00
2014-12-16 11:34:38 +01:00
2014-12-16 11:34:38 +01:00
2014-04-03 11:13:25 +02:00
2014-04-03 11:13:25 +02:00
2014-12-16 11:34:38 +01:00
2015-03-20 15:42:34 +01:00
2015-03-20 15:42:34 +01:00
2015-03-20 15:42:34 +01:00
2014-03-25 08:06:21 +01:00
2015-11-04 07:37:41 +01:00
2014-03-25 08:06:21 +01:00
2015-12-08 08:38:06 +01:00
2015-10-15 11:56:15 +02:00
2014-03-25 08:06:21 +01:00
2015-04-27 10:17:31 +02:00
2015-12-11 08:17:16 +01:00
2015-10-15 11:56:15 +02:00
2015-03-20 15:42:34 +01:00
2015-03-20 15:42:34 +01:00
2015-03-20 15:42:34 +01:00
2015-07-23 08:01:13 +02:00
2015-06-12 13:59:47 +02:00
2014-12-16 11:34:38 +01:00
2015-07-23 08:01:13 +02:00
2015-05-20 08:40:29 +02:00
2015-05-20 08:40:33 +02:00
2015-06-09 14:56:02 +02:00
2014-03-28 13:09:06 -05:00
2014-03-25 08:06:21 +01:00
2014-03-25 08:06:21 +01:00
2015-03-24 08:16:37 -05:00
2014-03-25 08:06:21 +01:00
2015-03-24 08:16:38 -05:00
2015-06-13 15:51:21 +02:00
2014-03-25 08:06:21 +01:00
2015-12-11 08:17:16 +01:00
2015-12-11 08:17:16 +01:00
2012-05-11 08:44:13 -05:00