zephyr/include/arch/x86
Daniel Leung 2bc5880d85 microkernel: introduce support for private tasks
This enable defining tasks in source code in addition to
defining in MDEF files. This introduces the macro
DEFINE_TASK(task_name). The tasks created this
way are the same, in functionality, as those defined in MDEF
files. They can be manipulated by the standard microkernel
task APIs.

Define the task using:

  DEFINE_TASK(task1, priority, entry_func, stack_size, groups);

and "task1" can be used, for example:

  task_start(task1);

or,

  task_abort(task1);

etc.

To use the task defined in another source file, simply add:

extern const ktask_t task1;

to the desired C or header file.

Change-Id: Ib2f3572950ca74b359b7fde1ccd6cfd04783eefb
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:15:18 -05:00
..
addr_types.h Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
arch.h Remove references to BSP from include/ directory 2016-02-05 20:14:43 -05:00
asm_inline_gcc.h replace negative CMOV_UNSUPPORTED with CMOV 2016-02-05 20:14:41 -05:00
asm_inline.h Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
asm.h Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
linker-common-sections.h microkernel: introduce support for private tasks 2016-02-05 20:15:18 -05:00
linker-defs-arch.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
linker-epilog.h Add .debug_macro for DWARF4 2016-02-05 20:14:27 -05:00
segselect.h Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00