RTEMS 6.1-rc7
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
cpuimpl.h File Reference

CPU Port Implementation API. More...

#include <rtems/score/cpu.h>

Go to the source code of this file.

Data Structures

struct  CPU_Per_CPU_control
 The CPU specific per-CPU control. More...
 

Macros

#define CPU_PER_CPU_CONTROL_SIZE   0
 The size of the CPU specific per-CPU control.
 
#define CPU_THREAD_LOCAL_STORAGE_VARIANT   10
 Defines the thread-local storage (TLS) variant.
 
#define _CPU_Get_current_per_CPU_control()   ( _CPU_Per_CPU_current )
 Optional method to obtain the per-CPU control of the current processor.
 
#define _CPU_Get_thread_executing()   ( _CPU_Per_CPU_current->executing )
 Optional method to get the executing thread.
 

Functions

register struct Per_CPU_Control *_CPU_Per_CPU_current asm ("rX")
 Special register pointing to the per-CPU control of the current processor.
 
void _CPU_Context_volatile_clobber (uintptr_t pattern)
 
void _CPU_Context_validate (uintptr_t pattern)
 

Detailed Description

CPU Port Implementation API.