RTEMS  5.0.0
Files | Macros | Enumerations | Functions
SMP Support

Files

file  smp.h
 SuperCore SMP Support API.
 

Macros

#define _SMP_Get_processor_count()   UINT32_C(1)
 
#define _SMP_Get_current_processor()   UINT32_C(0)
 
#define SMP_MESSAGE_SHUTDOWN   0x1UL
 SMP message to request a processor shutdown. More...
 
#define SMP_MESSAGE_TEST   0x2UL
 SMP message to request a test handler invocation. More...
 
#define SMP_MESSAGE_MULTICAST_ACTION   0x4UL
 SMP message to request a multicast action. More...
 
#define SMP_MESSAGE_CLOCK_TICK   0x8UL
 SMP message to request a clock tick. More...
 
#define _SMP_Handler_initialize()   do { } while ( 0 )
 Initialize SMP Handler. More...
 
#define _SMP_Request_start_multitasking()   do { } while ( 0 )
 Requests a multitasking start on all configured and available processors.
 
#define _SMP_Request_shutdown()   do { } while ( 0 )
 Requests a shutdown of all processors. More...
 

Enumerations

enum  SMP_Fatal_code {
  SMP_FATAL_BOOT_PROCESSOR_NOT_ASSIGNED_TO_SCHEDULER, SMP_FATAL_MANDATORY_PROCESSOR_NOT_PRESENT, SMP_FATAL_MULTITASKING_START_ON_INVALID_PROCESSOR, SMP_FATAL_MULTITASKING_START_ON_UNASSIGNED_PROCESSOR,
  SMP_FATAL_SHUTDOWN, SMP_FATAL_SHUTDOWN_RESPONSE, SMP_FATAL_START_OF_MANDATORY_PROCESSOR_FAILED, SMP_FATAL_SCHEDULER_PIN_OR_UNPIN_NOT_SUPPORTED
}
 SMP fatal codes.
 

Functions

RTEMS_INLINE_ROUTINE const Processor_mask * _SMP_Get_online_processors (void)
 

Detailed Description

This defines the interface of the SuperCore SMP support.

Macro Definition Documentation

◆ _SMP_Handler_initialize

#define _SMP_Handler_initialize (   void)    do { } while ( 0 )

Initialize SMP Handler.

This method initialize the SMP Handler.

◆ _SMP_Request_shutdown

#define _SMP_Request_shutdown (   void)    do { } while ( 0 )

Requests a shutdown of all processors.

This function is a part of the system termination procedure.

See also
_Terminate().

◆ SMP_MESSAGE_CLOCK_TICK

#define SMP_MESSAGE_CLOCK_TICK   0x8UL

SMP message to request a clock tick.

This message is provided for systems without a proper interrupt affinity support and may be used by the clock driver.

See also
_SMP_Send_message().

◆ SMP_MESSAGE_MULTICAST_ACTION

#define SMP_MESSAGE_MULTICAST_ACTION   0x4UL

SMP message to request a multicast action.

See also
_SMP_Send_message().

◆ SMP_MESSAGE_SHUTDOWN

#define SMP_MESSAGE_SHUTDOWN   0x1UL

SMP message to request a processor shutdown.

See also
_SMP_Send_message().

◆ SMP_MESSAGE_TEST

#define SMP_MESSAGE_TEST   0x2UL

SMP message to request a test handler invocation.

See also
_SMP_Send_message().