Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
leon_smp.c File Reference
#include <asm/head.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/threads.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/kernel_stat.h>
#include <linux/of.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/profile.h>
#include <linux/pm.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/cpu.h>
#include <linux/clockchips.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/ptrace.h>
#include <linux/atomic.h>
#include <asm/irq_regs.h>
#include <asm/traps.h>
#include <asm/delay.h>
#include <asm/irq.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
#include <asm/pgtable.h>
#include <asm/oplib.h>
#include <asm/cpudata.h>
#include <asm/asi.h>
#include <asm/leon.h>
#include <asm/leon_amba.h>
#include <asm/timer.h>
#include "kernel.h"
#include "irq.h"

Go to the source code of this file.

Data Structures

struct  leon_ipi_work
 
struct  smp_funcall
 

Functions

void __cpuinit leon_configure_cache_smp (void)
 
void __cpuinit leon_callin (void)
 
void leon_smp_setbroadcast (unsigned int mask)
 
unsigned int leon_smp_getbroadcast (void)
 
int leon_smp_nrcpus (void)
 
void __init leon_boot_cpus (void)
 
int __cpuinit leon_boot_one_cpu (int i, struct task_struct *idle)
 
void __init leon_smp_done (void)
 
void leon_irq_rotate (int cpu)
 
void leonsmp_ipi_interrupt (void)
 
void leon_cross_call_irq (void)
 
void __init leon_init_smp (void)
 

Variables

ctxd_tsrmmu_ctx_table_phys
 
volatile unsigned long cpu_callin_map [NR_CPUS]
 
cpumask_t smp_commenced_mask
 
int leon_ipi_irq = LEON3_IRQ_IPI_DEFAULT
 
struct linux_prom_registers smp_penguin_ctable
 

Function Documentation

void __init leon_boot_cpus ( void  )

Definition at line 181 of file leon_smp.c.

int __cpuinit leon_boot_one_cpu ( int  i,
struct task_struct idle 
)

Definition at line 204 of file leon_smp.c.

void __cpuinit leon_callin ( void  )

Definition at line 72 of file leon_smp.c.

void __cpuinit leon_configure_cache_smp ( void  )

Definition at line 124 of file leon_smp.c.

void leon_cross_call_irq ( void  )

Definition at line 484 of file leon_smp.c.

void __init leon_init_smp ( void  )

Definition at line 501 of file leon_smp.c.

void leon_irq_rotate ( int  cpu)

Definition at line 296 of file leon_smp.c.

void __init leon_smp_done ( void  )

Definition at line 251 of file leon_smp.c.

unsigned int leon_smp_getbroadcast ( void  )

Definition at line 166 of file leon_smp.c.

int leon_smp_nrcpus ( void  )

Definition at line 173 of file leon_smp.c.

void leon_smp_setbroadcast ( unsigned int  mask)

Definition at line 148 of file leon_smp.c.

void leonsmp_ipi_interrupt ( void  )

Definition at line 382 of file leon_smp.c.

Variable Documentation

volatile unsigned long cpu_callin_map[NR_CPUS]

Definition at line 49 of file smp.c.

int leon_ipi_irq = LEON3_IRQ_IPI_DEFAULT

Definition at line 61 of file leon_smp.c.

cpumask_t smp_commenced_mask

Definition at line 41 of file smp_32.c.

struct linux_prom_registers smp_penguin_ctable
ctxd_t* srmmu_ctx_table_phys

Definition at line 80 of file srmmu.c.