kernel: Eliminate duplication of #define FPU

To avoid conflicts with the definition of "FPU" by the external
cmsis sub-system, the symbol "FPU_LEGACY" is now used to denote
the FPU task group. (That is, the group of tasks that utilize
the CPU's floating point registers.)

Backwards compatibility impacts:

* Microkernel applications that define private tasks using the
  DEFINE_TASK() macro must now use "FPU_LEGACY" to indicate
  that the task is part of the FPU task group, rather than "FPU".

* Applications that perform operations on the members of the
  FPU task group must now use "FPU_LEGACY", rather than "FPU".
  (Note: There is no apparent reason for an application to
  perform such an operation, so this is unlikely to impact
  existing applications.)

Backwards compatibility non-impacts:

* Application MDEFs can continue to specify "FPU" when defining
  a public task that is part of the FPU task group.

* Applications written for the unified kernel are unaffected,
  since the kernel implements task groups differently.

Change-Id: I972eecbc7b50d66f0a4f095d2d5177b5ce90cb71
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
Allan Stephens 2016-11-04 08:18:04 -05:00 committed by Anas Nashif
commit 68dda5417d

2
Kbuild
View file

@ -33,7 +33,7 @@ define filechk_prj.mdef
echo "% ==============";\ echo "% ==============";\
echo " TASKGROUP EXE";\ echo " TASKGROUP EXE";\
echo " TASKGROUP SYS";\ echo " TASKGROUP SYS";\
echo " TASKGROUP FPU";\ echo " TASKGROUP FPU_LEGACY";\
echo $(TASKGROUP_SSE);\ echo $(TASKGROUP_SSE);\
echo; \ echo; \
if test -e "$(MDEF_FILE_PATH)"; then \ if test -e "$(MDEF_FILE_PATH)"; then \