Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
process_32.c File Reference
#include <stdarg.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/stddef.h>
#include <linux/ptrace.h>
#include <linux/user.h>
#include <linux/smp.h>
#include <linux/reboot.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <asm/auxio.h>
#include <asm/oplib.h>
#include <asm/uaccess.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
#include <asm/pgtable.h>
#include <asm/delay.h>
#include <asm/processor.h>
#include <asm/psr.h>
#include <asm/elf.h>
#include <asm/prom.h>
#include <asm/unistd.h>
#include <asm/setup.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (pm_idle)
 
 EXPORT_SYMBOL (pm_power_off)
 
void fpsave (unsigned long *, unsigned long *, void *, unsigned long *)
 
void cpu_idle (void)
 
void machine_halt (void)
 
void machine_restart (char *cmd)
 
void machine_power_off (void)
 
void show_regs (struct pt_regs *r)
 
void show_stack (struct task_struct *tsk, unsigned long *_ksp)
 
void dump_stack (void)
 
 EXPORT_SYMBOL (dump_stack)
 
unsigned long thread_saved_pc (struct task_struct *tsk)
 
void exit_thread (void)
 
void flush_thread (void)
 
asmlinkage int sparc_do_fork (unsigned long clone_flags, unsigned long stack_start, struct pt_regs *regs, unsigned long stack_size)
 
void ret_from_fork (void)
 
int copy_thread (unsigned long clone_flags, unsigned long sp, unsigned long unused, struct task_struct *p, struct pt_regs *regs)
 
int dump_fpu (struct pt_regs *regs, elf_fpregset_t *fpregs)
 
asmlinkage int sparc_execve (struct pt_regs *regs)
 
pid_t kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 
 EXPORT_SYMBOL (kernel_thread)
 
unsigned long get_wchan (struct task_struct *task)
 

Variables

void(* pm_idle )(void)
 
void(* pm_power_off )(void) = machine_power_off
 
int scons_pwroff = 1
 
struct task_structlast_task_used_math = NULL
 
struct thread_infocurrent_set [NR_CPUS]
 

Function Documentation

int copy_thread ( unsigned long  clone_flags,
unsigned long  sp,
unsigned long  unused,
struct task_struct p,
struct pt_regs regs 
)

Definition at line 320 of file process_32.c.

void cpu_idle ( void  )

Definition at line 71 of file process_32.c.

int dump_fpu ( struct pt_regs regs,
elf_fpregset_t fpregs 
)

Definition at line 432 of file process_32.c.

void dump_stack ( void  )

Definition at line 177 of file process_32.c.

void exit_thread ( void  )
inline

Definition at line 199 of file process_32.c.

EXPORT_SYMBOL ( pm_idle  )
EXPORT_SYMBOL ( pm_power_off  )
EXPORT_SYMBOL ( dump_stack  )
EXPORT_SYMBOL ( kernel_thread  )
void flush_thread ( void  )

Definition at line 218 of file process_32.c.

void fpsave ( unsigned long ,
unsigned long ,
void ,
unsigned long  
)
unsigned long get_wchan ( struct task_struct task)

Definition at line 541 of file process_32.c.

pid_t kernel_thread ( int(*)(void *)  fn,
void arg,
unsigned long  flags 
)

Definition at line 514 of file process_32.c.

void machine_halt ( void  )

Definition at line 88 of file process_32.c.

void machine_power_off ( void  )

Definition at line 115 of file process_32.c.

void machine_restart ( char cmd)

Definition at line 97 of file process_32.c.

void ret_from_fork ( void  )

Definition at line 375 of file process.c.

void show_regs ( struct pt_regs r)

Definition at line 123 of file process_32.c.

void show_stack ( struct task_struct tsk,
unsigned long _ksp 
)

Definition at line 150 of file process_32.c.

asmlinkage int sparc_do_fork ( unsigned long  clone_flags,
unsigned long  stack_start,
struct pt_regs regs,
unsigned long  stack_size 
)

Definition at line 277 of file process_32.c.

asmlinkage int sparc_execve ( struct pt_regs regs)

Definition at line 482 of file process_32.c.

unsigned long thread_saved_pc ( struct task_struct tsk)

Definition at line 191 of file process_32.c.

Variable Documentation

struct thread_info* current_set[NR_CPUS]

Definition at line 66 of file process_32.c.

struct task_struct* last_task_used_math = NULL

Definition at line 65 of file process_32.c.

void(* pm_idle)(void)
default

Definition at line 46 of file process_32.c.

void(* pm_power_off)(void) = machine_power_off

Definition at line 54 of file process_32.c.

int scons_pwroff = 1

Definition at line 61 of file process_32.c.