Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
process.c File Reference
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/pm.h>
#include <linux/tick.h>
#include <linux/bitops.h>
#include <asm/pgalloc.h>
#include <asm/uaccess.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Functions

void show_regs (struct pt_regs *regs)
 
 EXPORT_SYMBOL (pm_power_off)
 
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 default_idle (void)
 
void cpu_idle (void)
 
void flush_thread (void)
 
int copy_thread (unsigned long clone_flags, unsigned long usp, unsigned long unused, struct task_struct *p, struct pt_regs *regs)
 
unsigned long thread_saved_pc (struct task_struct *tsk)
 
int kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 
 EXPORT_SYMBOL_GPL (kernel_thread)
 
unsigned long get_wchan (struct task_struct *p)
 
void start_thread (struct pt_regs *regs, unsigned long pc, unsigned long usp)
 

Variables

void(* pm_idle )(void)
 
void(* pm_power_off )(void) = NULL
 

Function Documentation

__setup ( "nohlt"  ,
nohlt_setup   
)
__setup ( "hlt"  ,
hlt_setup   
)
int copy_thread ( unsigned long  clone_flags,
unsigned long  usp,
unsigned long  unused,
struct task_struct p,
struct pt_regs regs 
)

Definition at line 121 of file process.c.

void cpu_idle ( void  )

Definition at line 94 of file process.c.

void default_idle ( void  )

Definition at line 75 of file process.c.

void disable_hlt ( void  )

Definition at line 49 of file process.c.

void enable_hlt ( void  )

Definition at line 55 of file process.c.

EXPORT_SYMBOL ( pm_power_off  )
EXPORT_SYMBOL ( disable_hlt  )
EXPORT_SYMBOL ( enable_hlt  )
EXPORT_SYMBOL_GPL ( kernel_thread  )
void flush_thread ( void  )

Definition at line 117 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 235 of file process.c.

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

Definition at line 218 of file process.c.

void show_regs ( struct pt_regs regs)

Definition at line 20 of file process.c.

void start_thread ( struct pt_regs regs,
unsigned long  pc,
unsigned long  usp 
)

Definition at line 242 of file process.c.

unsigned long thread_saved_pc ( struct task_struct tsk)

Definition at line 199 of file process.c.

Variable Documentation

void(* pm_idle)(void)
default

Definition at line 43 of file process.c.

void(* pm_power_off)(void) = NULL

Definition at line 44 of file process.c.