smp.c File Reference

Go to the source code of this file.

Defines

#define MASK_DECLARE_1(x)   [x+1][0] = 1UL << (x)
#define MASK_DECLARE_2(x)   MASK_DECLARE_1(x), MASK_DECLARE_1(x+1)
#define MASK_DECLARE_4(x)   MASK_DECLARE_2(x), MASK_DECLARE_2(x+2)
#define MASK_DECLARE_8(x)   MASK_DECLARE_4(x), MASK_DECLARE_4(x+4)

Functions

const DECLARE_BITMAP (cpu_all_bits, NR_CPUS)
void __smp_call_function_single (int cpuid, struct call_single_data *data)

Variables

static struct cpumask _possible = CPU_MASK_ALL
static struct cpumask _online = CPU_MASK_CPU0
static struct cpumask _present = CPU_MASK_CPU0
static struct cpumask _active = CPU_MASK_CPU0
struct cpumask *const cpu_possible_mask = &_possible
struct cpumask *const cpu_online_mask = &_online
struct cpumask *const cpu_present_mask = &_present
struct cpumask *const cpu_active_mask = &_active
cpumask_t cpu_mask_all = CPU_MASK_ALL
int nr_cpu_ids = NR_CPUS
const unsigned long cpu_bit_bitmap [BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]


Define Documentation

#define MASK_DECLARE_1 (  )     [x+1][0] = 1UL << (x)

Definition at line 20 of file smp.c.

#define MASK_DECLARE_2 (  )     MASK_DECLARE_1(x), MASK_DECLARE_1(x+1)

Definition at line 21 of file smp.c.

#define MASK_DECLARE_4 (  )     MASK_DECLARE_2(x), MASK_DECLARE_2(x+2)

Definition at line 22 of file smp.c.

#define MASK_DECLARE_8 (  )     MASK_DECLARE_4(x), MASK_DECLARE_4(x+4)

Definition at line 23 of file smp.c.


Function Documentation

void __smp_call_function_single ( int  cpuid,
struct call_single_data *  data 
)

Definition at line 34 of file smp.c.

const DECLARE_BITMAP ( cpu_all_bits  ,
NR_CPUS   
)


Variable Documentation

struct cpumask _active = CPU_MASK_CPU0 [static]

Definition at line 8 of file smp.c.

struct cpumask _online = CPU_MASK_CPU0 [static]

Definition at line 6 of file smp.c.

struct cpumask _possible = CPU_MASK_ALL [static]

Definition at line 5 of file smp.c.

struct cpumask _present = CPU_MASK_CPU0 [static]

Definition at line 7 of file smp.c.

struct cpumask* const cpu_active_mask = &_active

Definition at line 13 of file smp.c.

const unsigned long cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]

Initial value:

Definition at line 25 of file smp.c.

cpumask_t cpu_mask_all = CPU_MASK_ALL

Definition at line 15 of file smp.c.

struct cpumask* const cpu_online_mask = &_online

Definition at line 11 of file smp.c.

struct cpumask* const cpu_possible_mask = &_possible

Definition at line 10 of file smp.c.

struct cpumask* const cpu_present_mask = &_present

Definition at line 12 of file smp.c.

int nr_cpu_ids = NR_CPUS

Definition at line 16 of file smp.c.


Generated on Wed Apr 11 06:39:16 2012 for DDE - The L4 Device Driver Environment by  doxygen 1.5.6