Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
process.c File Reference
#include <stdarg.h>
#include <linux/elf.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/module.h>
#include <linux/personality.h>
#include <linux/ptrace.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/stddef.h>
#include <linux/unistd.h>
#include <linux/kallsyms.h>
#include <linux/uaccess.h>
#include <linux/rcupdate.h>
#include <asm/io.h>
#include <asm/asm-offsets.h>
#include <asm/pdc.h>
#include <asm/pdc_chassis.h>
#include <asm/pgalloc.h>
#include <asm/unwind.h>
#include <asm/sections.h>

Go to the source code of this file.

Macros

#define COMMAND_GLOBAL   F_EXTEND(0xfffe0030)
 
#define CMD_RESET   5 /* reset any module */
 

Functions

void cpu_idle (void)
 
void machine_restart (char *cmd)
 
void machine_halt (void)
 
void machine_power_off (void)
 
 EXPORT_SYMBOL (pm_power_off)
 
pid_t __kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 
pid_t kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 
 EXPORT_SYMBOL (kernel_thread)
 
void exit_thread (void)
 
void flush_thread (void)
 
void release_thread (struct task_struct *dead_task)
 
int dump_fpu (struct pt_regs *regs, elf_fpregset_t *r)
 
int dump_task_fpu (struct task_struct *tsk, elf_fpregset_t *r)
 
int sys_clone (unsigned long clone_flags, unsigned long usp, struct pt_regs *regs)
 
int sys_vfork (struct pt_regs *regs)
 
int copy_thread (unsigned long clone_flags, unsigned long usp, unsigned long unused, struct task_struct *p, struct pt_regs *pregs)
 
unsigned long thread_saved_pc (struct task_struct *t)
 
asmlinkage int sys_execve (struct pt_regs *regs)
 
int __execve (const char *filename, const char *const argv[], const char *const envp[], struct task_struct *task)
 
int kernel_execve (const char *filename, const char *const argv[], const char *const envp[])
 
unsigned long get_wchan (struct task_struct *p)
 

Variables

void(* chassis_power_off )(void)
 
void(* pm_power_off )(void) = machine_power_off
 

Macro Definition Documentation

#define CMD_RESET   5 /* reset any module */

Definition at line 84 of file process.c.

#define COMMAND_GLOBAL   F_EXTEND(0xfffe0030)

Definition at line 83 of file process.c.

Function Documentation

int __execve ( const char filename,
const char *const  argv[],
const char *const  envp[],
struct task_struct task 
)
pid_t __kernel_thread ( int(*)(void *)  fn,
void arg,
unsigned long  flags 
)
int copy_thread ( unsigned long  clone_flags,
unsigned long  usp,
unsigned long  unused,
struct task_struct p,
struct pt_regs pregs 
)

Definition at line 258 of file process.c.

void cpu_idle ( void  )

Definition at line 67 of file process.c.

int dump_fpu ( struct pt_regs regs,
elf_fpregset_t r 
)

Definition at line 206 of file process.c.

int dump_task_fpu ( struct task_struct tsk,
elf_fpregset_t r 
)

Definition at line 215 of file process.c.

void exit_thread ( void  )
inline

Definition at line 187 of file process.c.

EXPORT_SYMBOL ( pm_power_off  )
EXPORT_SYMBOL ( kernel_thread  )
void flush_thread ( void  )

Definition at line 191 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 372 of file process.c.

int kernel_execve ( const char filename,
const char *const  argv[],
const char *const  envp[] 
)

Definition at line 364 of file process.c.

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

Definition at line 172 of file process.c.

void machine_halt ( void  )

Definition at line 130 of file process.c.

void machine_power_off ( void  )

Definition at line 144 of file process.c.

void machine_restart ( char cmd)

Definition at line 98 of file process.c.

void release_thread ( struct task_struct dead_task)

Definition at line 198 of file process.c.

int sys_clone ( unsigned long  clone_flags,
unsigned long  usp,
struct pt_regs regs 
)

Definition at line 224 of file process.c.

asmlinkage int sys_execve ( struct pt_regs regs)

Definition at line 342 of file process.c.

int sys_vfork ( struct pt_regs regs)

Definition at line 252 of file process.c.

unsigned long thread_saved_pc ( struct task_struct t)

Definition at line 333 of file process.c.

Variable Documentation

void(* chassis_power_off)(void)

Definition at line 138 of file process.c.

void(* pm_power_off)(void) = machine_power_off

Definition at line 164 of file process.c.