RTEMS
Enumerations | Functions | Variables
smp.c File Reference

SMP Support. More...

#include <rtems/score/smpimpl.h>
#include <rtems/score/assert.h>
#include <rtems/score/memory.h>
#include <rtems/score/percpudata.h>
#include <rtems/score/schedulerimpl.h>
#include <rtems/score/threadimpl.h>
#include <rtems/config.h>
#include <rtems/sysinit.h>
#include <string.h>

Go to the source code of this file.

Enumerations

enum  { _Sysinit__Per_CPU_Data_initialize = 0x00022080 }
 

Functions

static const Scheduler_Assignment_Scheduler_Get_initial_assignment (uint32_t cpu_index)
 
static bool _Scheduler_Is_mandatory_processor (const Scheduler_Assignment *assignment)
 
static bool _Scheduler_Should_start_processor (const Scheduler_Assignment *assignment)
 
static void _SMP_Start_processors (uint32_t cpu_max)
 
void _SMP_Handler_initialize (void)
 Initializes SMP Handler. More...
 
void _SMP_Request_start_multitasking (void)
 Requests a multitasking start on all configured and available processors.
 
bool _SMP_Should_start_processor (uint32_t cpu_index)
 Checks if the processor with the specified index should be started. More...
 
void _SMP_Start_multitasking_on_secondary_processor (Per_CPU_Control *cpu_self)
 Performs high-level initialization of a secondary processor and runs the application threads. More...
 
void _SMP_Request_shutdown (void)
 Requests a shutdown of all processors. More...
 
void _SMP_Send_message (uint32_t cpu_index, unsigned long message)
 Sends an SMP message to a processor. More...
 
void _SMP_Send_message_broadcast (unsigned long message)
 Sends an SMP message to all other online processors. More...
 
void _SMP_Send_message_multicast (const Processor_mask *targets, unsigned long message)
 Sends an SMP message to a set of processors. More...
 
static void _Per_CPU_Data_initialize (void)
 

Variables

Processor_mask _SMP_Online_processors
 Set of online processors. More...
 
uint32_t _SMP_Processor_maximum
 
rtems_sysinit_item const _Linker_set__Sysinit__Per_CPU_Data_initialize = { _Per_CPU_Data_initialize }
 

Detailed Description

SMP Support.

Definition in file smp.c.