/* * Author : Sebastien Levieux * Date : 13/12/2024 */ Description: the aim of the application is to limit task execution to a single processor with the help of affinity. Each task runs on a separate processor, with no possibility of migration. Affinities are defined as follows: -Master task can run on CPU0 -T1 can run on CPU1 -T2 can run on CPU2 -T3 can run on CPU3 Files: init.c : File with the main function locked_print.c : A set of functions allowing printf to be used in a multiprocessor context This file is provided by rtems in this folder rcc-1.3-rc9-gcc/src/rcc-1.3-rc9/testsuites/support/include Makefile : Compilation file grmon.cmd : File with a list of command for grmon3 system.h : System configuration file for the application Result: **The master task running on CPU0** **4 CPU available in this configuration** **Hello World!!! I am task T1 and I am executing on CPU1** **Hello World!!! I am task T2 and I am executing on CPU2** **Hello World!!! I am task T3 and I am executing on CPU3**