zephyr/kernel/nanokernel
Peter Mitsis 18fa789ca0 Rework constructor macros
Routines are no longer flagged as constructors using the FUNC_CONSTRUCT(level)
macro.  This is because some compilers do not support constructor levels.

To indicate that a routine should be a constructor, the SYS_PREKERNEL_INIT()
macro should be used AFTER the definition of the routine.  For example ...

void my_library_init(void)
{
    ...
}

SYS_PREKERNEL_INIT(my_library_init, 500);

The first parameter to SYS_PREKERNEL_INIT() is the name of the routine.  The
second is the priority level (000...999).  The lower the number, the higher
the priority.  NOTE: It is important that all three digits are specified;
otherwise the linker may put the constructors in an undesired order.

Change-Id: Ic334875c60a453b39c10a2ffdee856b4851cb16c
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:14:00 -05:00
..
include
compiler_stack_protect.c
ctors.c
idle.c nanokernel/idle: fix file description 2016-02-05 20:13:59 -05:00
int_latency_bench.c
nano_context.c Rename nanokernel files 2016-02-05 20:13:59 -05:00
nano_fiber.c Rename nanokernel files 2016-02-05 20:13:59 -05:00
nano_fifo.c Fix whitespace issues 2016-02-05 20:13:59 -05:00
nano_init.c Remove references to ICC 2016-02-05 20:14:00 -05:00
nano_lifo.c Eliminate _Cput and _Cpsh APIs 2016-02-05 20:13:59 -05:00
nano_sema.c
nano_stack.c Eliminate _Cput and _Cpsh APIs 2016-02-05 20:13:59 -05:00
nano_sys_clock.c Rework constructor macros 2016-02-05 20:14:00 -05:00
nano_timer.c
nanometrics.c
string_s.c Fix coding style issues. 2016-02-05 20:13:59 -05:00
version.c