Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
sun4d_smp.c File Reference
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/profile.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/cpu.h>
#include <asm/cacheflush.h>
#include <asm/switch_to.h>
#include <asm/tlbflush.h>
#include <asm/timer.h>
#include <asm/oplib.h>
#include <asm/sbi.h>
#include <asm/mmu.h>
#include "kernel.h"
#include "irq.h"

Go to the source code of this file.

Data Structures

struct  sun4d_ipi_work
 
struct  smp_funcall
 

Macros

#define IRQ_CROSS_CALL   15
 
#define IGEN_MESSAGE(bcast, devid, sid, levels)   (((bcast) << 31) | ((devid) << 23) | ((sid) << 15) | (levels))
 

Functions

void __cpuinit smp4d_callin (void)
 
void __init smp4d_boot_cpus (void)
 
int __cpuinit smp4d_boot_one_cpu (int i, struct task_struct *idle)
 
void __init smp4d_smp_done (void)
 
void sun4d_ipi_interrupt (void)
 
void smp4d_cross_call_irq (void)
 
void smp4d_percpu_timer_interrupt (struct pt_regs *regs)
 
void __init sun4d_init_smp (void)
 

Variables

smpfunc_t func
 
unsigned long arg1
 
unsigned long arg2
 
unsigned long arg3
 
unsigned long arg4
 
unsigned long arg5
 
unsigned char processors_in [NR_CPUS]
 
unsigned char processors_out [NR_CPUS]
 

Macro Definition Documentation

#define IGEN_MESSAGE (   bcast,
  devid,
  sid,
  levels 
)    (((bcast) << 31) | ((devid) << 23) | ((sid) << 15) | (levels))

Definition at line 239 of file sun4d_smp.c.

#define IRQ_CROSS_CALL   15

Definition at line 27 of file sun4d_smp.c.

Function Documentation

void __init smp4d_boot_cpus ( void  )

Definition at line 124 of file sun4d_smp.c.

int __cpuinit smp4d_boot_one_cpu ( int  i,
struct task_struct idle 
)

Definition at line 132 of file sun4d_smp.c.

void __cpuinit smp4d_callin ( void  )

Definition at line 53 of file sun4d_smp.c.

void smp4d_cross_call_irq ( void  )

Definition at line 364 of file sun4d_smp.c.

void smp4d_percpu_timer_interrupt ( struct pt_regs regs)

Definition at line 374 of file sun4d_smp.c.

void __init smp4d_smp_done ( void  )

Definition at line 173 of file sun4d_smp.c.

void __init sun4d_init_smp ( void  )

Definition at line 410 of file sun4d_smp.c.

void sun4d_ipi_interrupt ( void  )

Definition at line 216 of file sun4d_smp.c.

Variable Documentation

unsigned long arg1

Definition at line 291 of file sun4d_smp.c.

unsigned long arg2

Definition at line 292 of file sun4d_smp.c.

unsigned long arg3

Definition at line 293 of file sun4d_smp.c.

unsigned long arg4

Definition at line 294 of file sun4d_smp.c.

unsigned long arg5

Definition at line 295 of file sun4d_smp.c.

smpfunc_t func

Definition at line 290 of file sun4d_smp.c.

unsigned char processors_in[NR_CPUS]

Definition at line 296 of file sun4d_smp.c.

unsigned char processors_out[NR_CPUS]

Definition at line 297 of file sun4d_smp.c.