2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>

PR 1729/cpukit
	* spsize/size.c: Add next step in SMP support. This adds an allocated
	array of the Per_CPU structures to support multiple cpus vs a single
	instance of the structure which is still used if SMP support is
	disabled. Configuration support is also added to explicitly enable or
	disable SMP. But SMP can only be enabled for the CPUs which will
	support it initially -- SPARC and i386. With the stub BSP support, a
	BSP can be run as a single core SMP system from an RTEMS data
	structure standpoint.
This commit is contained in:
Joel Sherrill
2011-03-16 20:08:39 +00:00
parent d5f3485e5d
commit b3a7216629
2 changed files with 17 additions and 1 deletions

View File

@@ -1,3 +1,15 @@
2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
* spsize/size.c: Add next step in SMP support. This adds an allocated
array of the Per_CPU structures to support multiple cpus vs a single
instance of the structure which is still used if SMP support is
disabled. Configuration support is also added to explicitly enable or
disable SMP. But SMP can only be enabled for the CPUs which will
support it initially -- SPARC and i386. With the stub BSP support, a
BSP can be run as a single core SMP system from an RTEMS data
structure standpoint.
2011-03-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* spfifo05/init.c: Console interrupts perturb test.

View File

@@ -340,7 +340,11 @@ uninitialized =
/*partmp.h*/ 0 +
#endif
/*percpu.h*/ (sizeof _Per_CPU_Information) +
#if defined(RTEMS_SMP)
/*percpu.h*/ (_SMP_Processor_count * sizeof(Per_CPU_Control)) +
#else
/*percpu.h*/ (sizeof (Per_CPU_Control) ) +
#endif
/*ratemon.h*/ (sizeof _Rate_monotonic_Information) +