RTEMS CPU Kit with SuperCore  4.10.99.0
Data Structures | Defines | Typedefs | Enumerations | Functions | Variables
rtems/score/percpu.h File Reference

This include file defines the per CPU information required by RTEMS. More...

#include <rtems/score/cpu.h>
#include <rtems/score/isrlevel.h>
#include <rtems/score/timestamp.h>
#include <rtems/score/smplock.h>
#include <rtems/bspsmp.h>
Include dependency graph for percpu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Per_CPU_Control
 Per CPU Core Structure. More...

Defines

#define __THREAD_CONTROL_DEFINED__
#define _Thread_Heir   _Per_CPU_Information[bsp_smp_processor_id()].heir
#define _Thread_Executing   _Per_CPU_Information[bsp_smp_processor_id()].executing
#define _Thread_Idle   _Per_CPU_Information[bsp_smp_processor_id()].idle
#define _ISR_Nest_level   _Per_CPU_Information[bsp_smp_processor_id()].isr_nest_level
#define _CPU_Interrupt_stack_low   _Per_CPU_Information[bsp_smp_processor_id()].interrupt_stack_low
#define _CPU_Interrupt_stack_high   _Per_CPU_Information[bsp_smp_processor_id()].interrupt_stack_high
#define _Thread_Dispatch_necessary   _Per_CPU_Information[bsp_smp_processor_id()].dispatch_necessary
#define _Thread_Time_of_last_context_switch   _Per_CPU_Information[bsp_smp_processor_id()].time_of_last_context_switch

Typedefs

typedef struct
Thread_Control_struct 
Thread_Control

Enumerations

enum  bsp_smp_cpu_state { RTEMS_BSP_SMP_CPU_INITIAL_STATE = 1, RTEMS_BSP_SMP_CPU_INITIALIZED = 2, RTEMS_BSP_SMP_CPU_UP = 3, RTEMS_BSP_SMP_CPU_SHUTDOWN = 4 }

Functions

void _SMP_Handler_initialize (void)
 Initialize SMP Handler.
void _Per_CPU_Initialize (void)
 Allocate and Initialize Per CPU Structures.

Variables

Per_CPU_Control
_Per_CPU_Information[] 
CPU_STRUCTURE_ALIGNMENT
 Set of Per CPU Core Information.
Per_CPU_Control_Per_CPU_Information_p []
 Set of Pointers to Per CPU Core Information.

Detailed Description

This include file defines the per CPU information required by RTEMS.