zephyr/kernel/microkernel/include
Daniel Leung 74c8852d05 microkernel: remove kernel service dispatch table
This change removes the internal number-to-function mapping
of microkernel services. Instead, function pointers are used
to specify which service to use.

This is in preparation for private kernel objects. Before this,
only kernel objects that are defined in MDEF files would have
corresponding functions included in the final binary, via sysgen
by populating an array of number-to-function mapping. This
causes an issue when a certain type of objects are all defined
with source code, and never in MDEF file. The corresponding
mapping would be deleted, and the functions are never included
in the binary. For example, if no mutexes are defined in MDEF
file, the _k_mutex_*() functions would not be included.

With this change, any usage of private kernel objects will hint
to the linker that those functions are needed, and should not be
removed from final binary.

Change-Id: If48864abcd6471bcb7964ec00fe668bcabe3239b
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:14:46 -05:00
..
k_pipe_buffer.h Standardize on names for pipe_desc type objects 2016-02-05 20:14:36 -05:00
k_pipe_util.h Revise 'channel' comments in microkernel's pipe code 2016-02-05 20:14:37 -05:00
kernel_main.h microkernel: remove kernel service dispatch table 2016-02-05 20:14:46 -05:00
micro_private_types.h microkernel: remove kernel service dispatch table 2016-02-05 20:14:46 -05:00
micro_private.h Rename nanokernel's nanok.h to nano_private.h 2016-02-05 20:14:26 -05:00