亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? process.c

?? linux-2.6.15.6
?? C
字號:
/* *    PARISC Architecture-dependent parts of process handling *    based on the work for i386 * *    Copyright (C) 1999-2003 Matthew Wilcox <willy at parisc-linux.org> *    Copyright (C) 2000 Martin K Petersen <mkp at mkp.net> *    Copyright (C) 2000 John Marvin <jsm at parisc-linux.org> *    Copyright (C) 2000 David Huggins-Daines <dhd with pobox.org> *    Copyright (C) 2000-2003 Paul Bame <bame at parisc-linux.org> *    Copyright (C) 2000 Philipp Rumpf <prumpf with tux.org> *    Copyright (C) 2000 David Kennedy <dkennedy with linuxcare.com> *    Copyright (C) 2000 Richard Hirst <rhirst with parisc-linux.org> *    Copyright (C) 2000 Grant Grundler <grundler with parisc-linux.org> *    Copyright (C) 2001 Alan Modra <amodra at parisc-linux.org> *    Copyright (C) 2001-2002 Ryan Bradetich <rbrad at parisc-linux.org> *    Copyright (C) 2001-2002 Helge Deller <deller at parisc-linux.org> *    Copyright (C) 2002 Randolph Chung <tausq with parisc-linux.org> * * *    This program is free software; you can redistribute it and/or modify *    it under the terms of the GNU General Public License as published by *    the Free Software Foundation; either version 2 of the License, or *    (at your option) any later version. * *    This program is distributed in the hope that it will be useful, *    but WITHOUT ANY WARRANTY; without even the implied warranty of *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *    GNU General Public License for more details. * *    You should have received a copy of the GNU General Public License *    along with this program; if not, write to the Free Software *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */#include <stdarg.h>#include <linux/elf.h>#include <linux/errno.h>#include <linux/kernel.h>#include <linux/mm.h>#include <linux/module.h>#include <linux/personality.h>#include <linux/ptrace.h>#include <linux/sched.h>#include <linux/stddef.h>#include <linux/unistd.h>#include <linux/kallsyms.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/uaccess.h>#include <asm/unwind.h>static int hlt_counter;/* * Power off function, if any */ void (*pm_power_off)(void);void disable_hlt(void){	hlt_counter++;}EXPORT_SYMBOL(disable_hlt);void enable_hlt(void){	hlt_counter--;}EXPORT_SYMBOL(enable_hlt);void default_idle(void){	barrier();}/* * The idle thread. There's no useful work to be * done, so just try to conserve power and have a * low exit latency (ie sit in a loop waiting for * somebody to say that they'd like to reschedule) */void cpu_idle(void){	set_thread_flag(TIF_POLLING_NRFLAG);	/* endless idle loop with no priority at all */	while (1) {		while (!need_resched())			barrier();		preempt_enable_no_resched();		schedule();		preempt_disable();		check_pgt_cache();	}}#ifdef __LP64__#define COMMAND_GLOBAL  0xfffffffffffe0030UL#else#define COMMAND_GLOBAL  0xfffe0030#endif#define CMD_RESET       5       /* reset any module *//*** The Wright Brothers and Gecko systems have a H/W problem** (Lasi...'nuf said) may cause a broadcast reset to lockup** the system. An HVERSION dependent PDC call was developed** to perform a "safe", platform specific broadcast reset instead** of kludging up all the code.**** Older machines which do not implement PDC_BROADCAST_RESET will** return (with an error) and the regular broadcast reset can be** issued. Obviously, if the PDC does implement PDC_BROADCAST_RESET** the PDC call will not return (the system will be reset).*/void machine_restart(char *cmd){#ifdef FASTBOOT_SELFTEST_SUPPORT	/*	 ** If user has modified the Firmware Selftest Bitmap,	 ** run the tests specified in the bitmap after the	 ** system is rebooted w/PDC_DO_RESET.	 **	 ** ftc_bitmap = 0x1AUL "Skip destructive memory tests"	 **	 ** Using "directed resets" at each processor with the MEM_TOC	 ** vector cleared will also avoid running destructive	 ** memory self tests. (Not implemented yet)	 */	if (ftc_bitmap) {		pdc_do_firm_test_reset(ftc_bitmap);	}#endif	/* set up a new led state on systems shipped with a LED State panel */	pdc_chassis_send_status(PDC_CHASSIS_DIRECT_SHUTDOWN);		/* "Normal" system reset */	pdc_do_reset();	/* Nope...box should reset with just CMD_RESET now */	gsc_writel(CMD_RESET, COMMAND_GLOBAL);	/* Wait for RESET to lay us to rest. */	while (1) ;}void machine_halt(void){	/*	** The LED/ChassisCodes are updated by the led_halt()	** function, called by the reboot notifier chain.	*/}/* * This routine is called from sys_reboot to actually turn off the * machine  */void machine_power_off(void){	/* If there is a registered power off handler, call it. */	if(pm_power_off)		pm_power_off();	/* Put the soft power button back under hardware control.	 * If the user had already pressed the power button, the	 * following call will immediately power off. */	pdc_soft_power_button(0);		pdc_chassis_send_status(PDC_CHASSIS_DIRECT_SHUTDOWN);			/* It seems we have no way to power the system off via	 * software. The user has to press the button himself. */	printk(KERN_EMERG "System shut down completed.\n"	       KERN_EMERG "Please power this system off now.");}/* * Create a kernel thread */extern pid_t __kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags){	/*	 * FIXME: Once we are sure we don't need any debug here,	 *	  kernel_thread can become a #define.	 */	return __kernel_thread(fn, arg, flags);}EXPORT_SYMBOL(kernel_thread);/* * Free current thread data structures etc.. */void exit_thread(void){}void flush_thread(void){	/* Only needs to handle fpu stuff or perf monitors.	** REVISIT: several arches implement a "lazy fpu state".	*/	set_fs(USER_DS);}void release_thread(struct task_struct *dead_task){}/* * Fill in the FPU structure for a core dump. */int dump_fpu (struct pt_regs * regs, elf_fpregset_t *r){	if (regs == NULL)		return 0;	memcpy(r, regs->fr, sizeof *r);	return 1;}int dump_task_fpu (struct task_struct *tsk, elf_fpregset_t *r){	memcpy(r, tsk->thread.regs.fr, sizeof(*r));	return 1;}/* Note that "fork()" is implemented in terms of clone, with   parameters (SIGCHLD, regs->gr[30], regs). */intsys_clone(unsigned long clone_flags, unsigned long usp,	  struct pt_regs *regs){  	/* Arugments from userspace are:	   r26 = Clone flags.	   r25 = Child stack.	   r24 = parent_tidptr.	   r23 = Is the TLS storage descriptor 	   r22 = child_tidptr 	   	   However, these last 3 args are only examined	   if the proper flags are set. */	int __user *child_tidptr;	int __user *parent_tidptr;	/* usp must be word aligned.  This also prevents users from	 * passing in the value 1 (which is the signal for a special	 * return for a kernel thread) */	usp = ALIGN(usp, 4);	/* A zero value for usp means use the current stack */	if (usp == 0)	  usp = regs->gr[30];	if (clone_flags & CLONE_PARENT_SETTID)	  parent_tidptr = (int __user *)regs->gr[24];	else	  parent_tidptr = NULL;		if (clone_flags & (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID))	  child_tidptr = (int __user *)regs->gr[22];	else	  child_tidptr = NULL;	return do_fork(clone_flags, usp, regs, 0, parent_tidptr, child_tidptr);}intsys_vfork(struct pt_regs *regs){	return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs->gr[30], regs, 0, NULL, NULL);}intcopy_thread(int nr, unsigned long clone_flags, unsigned long usp,	    unsigned long unused,	/* in ia64 this is "user_stack_size" */	    struct task_struct * p, struct pt_regs * pregs){	struct pt_regs * cregs = &(p->thread.regs);	struct thread_info *ti = p->thread_info;		/* We have to use void * instead of a function pointer, because	 * function pointers aren't a pointer to the function on 64-bit.	 * Make them const so the compiler knows they live in .text */	extern void * const ret_from_kernel_thread;	extern void * const child_return;#ifdef CONFIG_HPUX	extern void * const hpux_child_return;#endif	*cregs = *pregs;	/* Set the return value for the child.  Note that this is not           actually restored by the syscall exit path, but we put it           here for consistency in case of signals. */	cregs->gr[28] = 0; /* child */	/*	 * We need to differentiate between a user fork and a	 * kernel fork. We can't use user_mode, because the	 * the syscall path doesn't save iaoq. Right now	 * We rely on the fact that kernel_thread passes	 * in zero for usp.	 */	if (usp == 1) {		/* kernel thread */		cregs->ksp = (((unsigned long)(ti)) + THREAD_SZ_ALGN);		/* Must exit via ret_from_kernel_thread in order		 * to call schedule_tail()		 */		cregs->kpc = (unsigned long) &ret_from_kernel_thread;		/*		 * Copy function and argument to be called from		 * ret_from_kernel_thread.		 */#ifdef __LP64__		cregs->gr[27] = pregs->gr[27];#endif		cregs->gr[26] = pregs->gr[26];		cregs->gr[25] = pregs->gr[25];	} else {		/* user thread */		/*		 * Note that the fork wrappers are responsible		 * for setting gr[21].		 */		/* Use same stack depth as parent */		cregs->ksp = ((unsigned long)(ti))			+ (pregs->gr[21] & (THREAD_SIZE - 1));		cregs->gr[30] = usp;		if (p->personality == PER_HPUX) {#ifdef CONFIG_HPUX			cregs->kpc = (unsigned long) &hpux_child_return;#else			BUG();#endif		} else {			cregs->kpc = (unsigned long) &child_return;		}		/* Setup thread TLS area from the 4th parameter in clone */		if (clone_flags & CLONE_SETTLS)		  cregs->cr27 = pregs->gr[23];		}	return 0;}unsigned long thread_saved_pc(struct task_struct *t){	return t->thread.regs.kpc;}/* * sys_execve() executes a new program. */asmlinkage int sys_execve(struct pt_regs *regs){	int error;	char *filename;	filename = getname((const char __user *) regs->gr[26]);	error = PTR_ERR(filename);	if (IS_ERR(filename))		goto out;	error = do_execve(filename, (char __user **) regs->gr[25],		(char __user **) regs->gr[24], regs);	if (error == 0) {		task_lock(current);		current->ptrace &= ~PT_DTRACE;		task_unlock(current);	}	putname(filename);out:	return error;}unsigned long get_wchan(struct task_struct *p){	struct unwind_frame_info info;	unsigned long ip;	int count = 0;	/*	 * These bracket the sleeping functions..	 */	unwind_frame_init_from_blocked_task(&info, p);	do {		if (unwind_once(&info) < 0)			return 0;		ip = info.ip;		if (!in_sched_functions(ip))			return ip;	} while (count++ < 16);	return 0;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲电影第三页| 中文字幕在线一区免费| xvideos.蜜桃一区二区| 亚洲精品欧美综合四区| 97超碰欧美中文字幕| 欧美偷拍一区二区| 亚洲乱码中文字幕| 国产黑丝在线一区二区三区| 久久精品国产网站| 国产精品丝袜黑色高跟| 亚洲午夜久久久久中文字幕久| 免费在线观看精品| 国产成人精品午夜视频免费| 91视频在线看| 精品美女在线播放| 国产日韩精品一区二区浪潮av| 亚洲最大色网站| 免费欧美日韩国产三级电影| 欧美在线观看18| 精品国产一区二区精华| 亚洲一区二区三区四区五区黄 | 国产91丝袜在线观看| 91精品国产综合久久久蜜臀图片| 国产无一区二区| 日本不卡一区二区| 欧美美女视频在线观看| 亚洲视频小说图片| 国产一区三区三区| 色噜噜狠狠成人网p站| 中文字幕欧美三区| 黄色日韩三级电影| 在线亚洲一区观看| 亚洲一区国产视频| 91影院在线免费观看| 欧美成人精品高清在线播放 | 久久国产福利国产秒拍| 欧美主播一区二区三区美女| 国产性做久久久久久| 国产色综合一区| 岛国精品在线观看| 日本一区二区三区国色天香 | 精品亚洲porn| 91精品国产91久久久久久最新毛片| 欧美视频在线观看一区| 麻豆成人91精品二区三区| 国内外精品视频| 日韩激情av在线| 久久―日本道色综合久久| 欧美婷婷六月丁香综合色| 国产精品一区二区三区99| 一区二区中文视频| 欧美精品一区二区三区在线| 成人av在线影院| 欧美视频一区二区在线观看| 亚洲精选免费视频| 粉嫩一区二区三区在线看| 国产精品久久久久久久久免费相片 | 国产女人18毛片水真多成人如厕| 成人动漫一区二区| 国产精品美女久久久久久久久| 国产乱色国产精品免费视频| 久久亚洲捆绑美女| 国产精品一色哟哟哟| 国产精品天干天干在观线| 成人av动漫在线| 亚洲精品国产一区二区三区四区在线 | 色哟哟一区二区| 日韩美女啊v在线免费观看| 91免费在线看| 亚洲国产一区二区三区青草影视| 日韩欧美一区二区久久婷婷| 韩国精品在线观看| 国产女人aaa级久久久级| 久久精品久久综合| 亚洲人成小说网站色在线| 欧美日韩一区二区三区在线看| 日韩电影在线免费观看| 国产精品卡一卡二卡三| 欧美日韩一区高清| 精久久久久久久久久久| 久久伊99综合婷婷久久伊| av一区二区三区黑人| 亚洲一区二区三区免费视频| 色综合天天综合网国产成人综合天 | 国产在线国偷精品产拍免费yy | 欧美日韩国产天堂| 久久se精品一区精品二区| 中文字幕欧美国产| 欧美男女性生活在线直播观看| 精品一区二区在线观看| 国产精品综合视频| 亚洲综合一区在线| 色综合久久综合网97色综合| 99久久国产免费看| 国产日韩欧美在线一区| 日韩国产欧美视频| 欧美一区二区三区四区高清| 久久久www成人免费毛片麻豆| 美女免费视频一区| 欧美一区二区三区四区久久| 成人午夜视频在线观看| 亚洲乱码国产乱码精品精可以看| 欧美日韩国产片| 国产精品一品二品| 丝袜美腿成人在线| 国产精品久久久久久久久免费桃花 | 国产在线精品不卡| 亚洲成人先锋电影| 亚洲欧洲av色图| 欧美男男青年gay1069videost| 成人黄色电影在线 | 国产精品综合一区二区| 日日嗨av一区二区三区四区| 亚洲欧美在线视频| 中文字幕av一区 二区| 欧美一二三区在线观看| 欧美丝袜丝交足nylons图片| 香蕉av福利精品导航| 午夜欧美电影在线观看| 亚洲精品你懂的| 中文字幕一区不卡| 亚洲丝袜另类动漫二区| 国产精品国产精品国产专区不片| 欧美成人免费网站| 欧美亚洲动漫另类| 欧美另类高清zo欧美| 欧美三级三级三级爽爽爽| 成人丝袜高跟foot| 91一区一区三区| 色婷婷国产精品综合在线观看| 久久超碰97中文字幕| 国产乱码精品一区二区三区五月婷| 青青草原综合久久大伊人精品优势| 日韩精品欧美精品| 亚洲综合视频网| 亚洲综合一区二区| 亚洲高清在线精品| 美国一区二区三区在线播放| 2020日本不卡一区二区视频| 久久久不卡网国产精品二区| 欧美激情自拍偷拍| 91美女福利视频| www.亚洲在线| 一二三区精品福利视频| 亚洲无线码一区二区三区| 亚洲综合精品久久| 午夜国产精品一区| 国产一区二区三区观看| 国产一区二区三区最好精华液| 成人激情综合网站| 91成人在线免费观看| 日韩免费一区二区三区在线播放| 日韩欧美国产综合| 亚洲一区二区在线免费看| 7777女厕盗摄久久久| 精品日韩欧美在线| 成人欧美一区二区三区视频网页| 亚洲va韩国va欧美va精品| 国产美女视频一区| 在线观看国产91| 久久中文娱乐网| 亚洲一区二区三区在线看 | 国产情人综合久久777777| ...xxx性欧美| 理论电影国产精品| 欧美在线观看一区二区| 国产日韩精品一区| 免费人成精品欧美精品| 99精品视频一区二区| 欧美大片在线观看一区| 亚洲综合一二区| 成人av免费在线播放| 日韩免费高清av| 亚洲成va人在线观看| 99热国产精品| 久久精品亚洲麻豆av一区二区| 午夜精品影院在线观看| 色88888久久久久久影院野外| 国产亚洲欧美激情| 日韩精彩视频在线观看| 欧美在线观看禁18| 自拍偷拍国产精品| www.亚洲在线| 国产精品欧美经典| 国产成人精品aa毛片| 精品成人免费观看| 久久精品国产秦先生| 欧美一区二区三区四区视频 | 国产精品一区二区视频| 精品国内二区三区| 九色综合国产一区二区三区| 制服丝袜亚洲网站| 日韩高清在线电影| 欧美精品一二三| 日韩黄色片在线观看| 91精品婷婷国产综合久久竹菊| 午夜精品爽啪视频| 欧美一区二区在线播放| 日韩av在线播放中文字幕| 欧美一区二区在线免费播放|