RTEMS
Functions
percpu.c File Reference

Allocate and Initialize Per CPU Structures. More...

#include <rtems/score/percpu.h>
#include <rtems/score/assert.h>
#include <rtems/score/isrlock.h>
#include <rtems/score/smpimpl.h>
#include <rtems/config.h>

Go to the source code of this file.

Functions

 RTEMS_STATIC_ASSERT (sizeof(CPU_Uint32ptr) >=sizeof(uintptr_t), CPU_Uint32ptr_greater_equal_uintptr_t)
 
 RTEMS_STATIC_ASSERT (sizeof(CPU_Uint32ptr) >=sizeof(uint32_t), CPU_Uint32ptr_greater_equal_uint32_t)
 
static void _Per_CPU_State_acquire (ISR_lock_Context *lock_context)
 
static void _Per_CPU_State_release (ISR_lock_Context *lock_context)
 
static void _Per_CPU_State_busy_wait (Per_CPU_Control *cpu, Per_CPU_State new_state)
 
static Per_CPU_State _Per_CPU_State_get_next (Per_CPU_State current_state, Per_CPU_State new_state)
 
void _Per_CPU_State_change (Per_CPU_Control *cpu, Per_CPU_State new_state)
 

Detailed Description

Allocate and Initialize Per CPU Structures.

Definition in file percpu.c.