Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions | Variables
process.c File Reference
#include <stdarg.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/stddef.h>
#include <linux/unistd.h>
#include <linux/user.h>
#include <linux/delay.h>
#include <linux/reboot.h>
#include <linux/interrupt.h>
#include <linux/kallsyms.h>
#include <linux/init.h>
#include <linux/cpu.h>
#include <linux/elfcore.h>
#include <linux/pm.h>
#include <linux/tick.h>
#include <linux/utsname.h>
#include <linux/uaccess.h>
#include <linux/random.h>
#include <linux/hw_breakpoint.h>
#include <linux/cpuidle.h>
#include <linux/leds.h>
#include <asm/cacheflush.h>
#include <asm/processor.h>
#include <asm/thread_notify.h>
#include <asm/stacktrace.h>
#include <asm/mach/time.h>

Go to the source code of this file.

Typedefs

typedef void(* phys_reset_t )(unsigned long)
 

Functions

void setup_mm_for_reboot (void)
 
void disable_hlt (void)
 
 EXPORT_SYMBOL (disable_hlt)
 
void enable_hlt (void)
 
 EXPORT_SYMBOL (enable_hlt)
 
 __setup ("nohlt", nohlt_setup)
 
 __setup ("hlt", hlt_setup)
 
void call_with_stack (void(*fn)(void *), void *arg, void *sp)
 
void soft_restart (unsigned long addr)
 
 EXPORT_SYMBOL (pm_power_off)
 
 EXPORT_SYMBOL_GPL (arm_pm_restart)
 
int __init reboot_setup (char *str)
 
 __setup ("reboot=", reboot_setup)
 
void machine_shutdown (void)
 
void machine_halt (void)
 
void machine_power_off (void)
 
void machine_restart (char *cmd)
 
void __show_regs (struct pt_regs *regs)
 
void show_regs (struct pt_regs *regs)
 
 ATOMIC_NOTIFIER_HEAD (thread_notify_head)
 
 EXPORT_SYMBOL_GPL (thread_notify_head)
 
void exit_thread (void)
 
void flush_thread (void)
 
void release_thread (struct task_struct *dead_task)
 
asmlinkage void ret_from_fork (void)
 
int dump_task_regs (struct task_struct *t, elf_gregset_t *elfregs)
 
int dump_fpu (struct pt_regs *regs, struct user_fp *fp)
 
 EXPORT_SYMBOL (dump_fpu)
 
unsigned long get_wchan (struct task_struct *p)
 
unsigned long arch_randomize_brk (struct mm_struct *mm)
 

Variables

void(* pm_power_off )(void)
 
void(* arm_pm_restart )(char str, const char *cmd) = null_restart
 
void(* arm_pm_idle )(void)
 
void(* pm_idle )(void)
 

Typedef Documentation

typedef void(* phys_reset_t)(unsigned long)

Definition at line 93 of file process.c.

Function Documentation

__setup ( "nohlt"  ,
nohlt_setup   
)
__setup ( "hlt"  ,
hlt_setup   
)
__setup ( )
void __show_regs ( struct pt_regs regs)

Definition at line 276 of file process.c.

unsigned long arch_randomize_brk ( struct mm_struct mm)

Definition at line 454 of file process.c.

ATOMIC_NOTIFIER_HEAD ( thread_notify_head  )
void call_with_stack ( void(*)(void *)  fn,
void arg,
void sp 
)
void disable_hlt ( void  )

Definition at line 63 of file process.c.

int dump_fpu ( struct pt_regs regs,
struct user_fp fp 
)

Definition at line 421 of file process.c.

int dump_task_regs ( struct task_struct t,
elf_gregset_t elfregs 
)

Definition at line 412 of file process.c.

void enable_hlt ( void  )

Definition at line 70 of file process.c.

void exit_thread ( void  )

Definition at line 352 of file process.c.

EXPORT_SYMBOL ( disable_hlt  )
EXPORT_SYMBOL ( enable_hlt  )
EXPORT_SYMBOL ( pm_power_off  )
EXPORT_SYMBOL ( dump_fpu  )
EXPORT_SYMBOL_GPL ( arm_pm_restart  )
EXPORT_SYMBOL_GPL ( thread_notify_head  )
void flush_thread ( void  )

Definition at line 357 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 433 of file process.c.

void machine_halt ( void  )

Definition at line 247 of file process.c.

void machine_power_off ( void  )

Definition at line 254 of file process.c.

void machine_restart ( char cmd)

Definition at line 261 of file process.c.

void machine_shutdown ( void  )

Definition at line 240 of file process.c.

int __init reboot_setup ( char str)

Definition at line 232 of file process.c.

void release_thread ( struct task_struct dead_task)

Definition at line 371 of file process.c.

asmlinkage void ret_from_fork ( void  )

Definition at line 375 of file process.c.

void setup_mm_for_reboot ( void  )

Definition at line 104 of file idmap.c.

void show_regs ( struct pt_regs regs)

Definition at line 337 of file process.c.

void soft_restart ( unsigned long  addr)

Definition at line 128 of file process.c.

Variable Documentation

void(* arm_pm_idle)(void)

Definition at line 164 of file process.c.

void(* arm_pm_restart)(char str, const char *cmd) = null_restart

Definition at line 157 of file process.c.

void(* pm_idle)(void)
default

Definition at line 175 of file process.c.

void(* pm_power_off)(void)

Definition at line 154 of file process.c.