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

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

?? entry.s

?? 在linux下使用c語言編寫的一個文件拷貝的源碼
?? S
?? 第 1 頁 / 共 2 頁
字號:
/* *  linux/arch/i386/entry.S * *  Copyright (C) 1991, 1992  Linus Torvalds *//* * entry.S contains the system-call and fault low-level handling routines. * This also contains the timer-interrupt handler, as well as all interrupts * and faults that can result in a task-switch. * * NOTE: This code handles signal-recognition, which happens every time * after a timer-interrupt and after each system call. * * I changed all the .align's to 4 (16 byte alignment), as that's faster * on a 486. * * Stack layout in 'ret_from_system_call': * 	ptrace needs to have all regs on the stack. *	if the order here is changed, it needs to be *	updated in fork.c:copy_process, signal.c:do_signal, *	ptrace.c and ptrace.h * *	 0(%esp) - %ebx *	 4(%esp) - %ecx *	 8(%esp) - %edx *       C(%esp) - %esi *	10(%esp) - %edi *	14(%esp) - %ebp *	18(%esp) - %eax *	1C(%esp) - %ds *	20(%esp) - %es *	24(%esp) - orig_eax *	28(%esp) - %eip *	2C(%esp) - %cs *	30(%esp) - %eflags *	34(%esp) - %oldesp *	38(%esp) - %oldss * * "current" is in register %ebx during any slow entries. */#include <linux/config.h>#include <linux/sys.h>#include <linux/linkage.h>#include <asm/segment.h>#define ASSEMBLY#include <asm/smp.h>EBX		= 0x00ECX		= 0x04EDX		= 0x08ESI		= 0x0CEDI		= 0x10EBP		= 0x14EAX		= 0x18DS		= 0x1CES		= 0x20ORIG_EAX	= 0x24EIP		= 0x28CS		= 0x2CEFLAGS		= 0x30OLDESP		= 0x34OLDSS		= 0x38CF_MASK		= 0x00000001IF_MASK		= 0x00000200NT_MASK		= 0x00004000VM_MASK		= 0x00020000/* * these are offsets into the task-struct. */state		=  0flags		=  4sigpending	=  8addr_limit	= 12exec_domain	= 16need_resched	= 20tsk_ptrace	= 24processor	= 52ENOSYS = 38#define SAVE_ALL \	cld; \	pushl %es; \	pushl %ds; \	pushl %eax; \	pushl %ebp; \	pushl %edi; \	pushl %esi; \	pushl %edx; \	pushl %ecx; \	pushl %ebx; \	movl $(__KERNEL_DS),%edx; \	movl %edx,%ds; \	movl %edx,%es;#define RESTORE_ALL	\	popl %ebx;	\	popl %ecx;	\	popl %edx;	\	popl %esi;	\	popl %edi;	\	popl %ebp;	\	popl %eax;	\	cmpl $__KERNEL_DS,(%esp); \	je 4f ; \1:	popl %ds;	\2:	popl %es;	\	addl $4,%esp;	\3:	iret;		\4:	addl $12,%esp;	\	iret; \.section .fixup,"ax";	\4:	movl $0,(%esp);	\	jmp 1b;		\5:	movl $0,(%esp);	\	jmp 2b;		\6:	pushl %ss;	\	popl %ds;	\	pushl %ss;	\	popl %es;	\	pushl $11;	\	call do_exit;	\.previous;		\.section __ex_table,"a";\	.align 4;	\	.long 1b,4b;	\	.long 2b,5b;	\	.long 3b,6b;	\.previous#define GET_CURRENT(reg) \	movl $-8192, reg; \	andl %esp, regENTRY(lcall7)	pushfl			# We get a different stack layout with call gates,	pushl %eax		# which has to be cleaned up later..	SAVE_ALL	movl EIP(%esp),%eax	# due to call gates, this is eflags, not eip..	movl CS(%esp),%edx	# this is eip..	movl EFLAGS(%esp),%ecx	# and this is cs..	movl %eax,EFLAGS(%esp)	#	movl %edx,EIP(%esp)	# Now we move them to their "normal" places	movl %ecx,CS(%esp)	#	movl %esp,%ebx	pushl %ebx	GET_CURRENT(%ebx)	# Using GET_CURRENT means we load %esp into				# %ebx twice, but this means we're safe				# against future changes.	movl exec_domain(%ebx),%edx	# Get the execution domain	movl 4(%edx),%edx	# Get the lcall7 handler for the domain	pushl $0x7	call *%edx	addl $4, %esp	popl %eax	jmp ret_from_sys_callENTRY(lcall27)	pushfl			# We get a different stack layout with call gates,	pushl %eax		# which has to be cleaned up later..	SAVE_ALL	movl EIP(%esp),%eax	# due to call gates, this is eflags, not eip..	movl CS(%esp),%edx	# this is eip..	movl EFLAGS(%esp),%ecx	# and this is cs..	movl %eax,EFLAGS(%esp)	#	movl %edx,EIP(%esp)	# Now we move them to their "normal" places	movl %ecx,CS(%esp)	#	movl %esp,%ebx	pushl %ebx	GET_CURRENT(%ebx)	# Using GET_CURRENT means we load %esp into				# %ebx twice, but this means we're safe				# against future changes.	movl exec_domain(%ebx),%edx	# Get the execution domain	movl 4(%edx),%edx	# Get the lcall7 handler for the domain	pushl $0x27	call *%edx	addl $4, %esp	popl %eax	jmp ret_from_sys_callENTRY(ret_from_fork)	pushl %ebx	call SYMBOL_NAME(schedule_tail)	addl $4, %esp	GET_CURRENT(%ebx)	testb $0x02,tsk_ptrace(%ebx)	# PT_TRACESYS	jne tracesys_exit	jmp	ret_from_sys_call/* * Return to user mode is not as complex as all this looks, * but we want the default path for a system call return to * go as quickly as possible which is why some of this is * less clear than it otherwise should be. */ENTRY(system_call)	pushl %eax			# save orig_eax	SAVE_ALL	GET_CURRENT(%ebx)	cmpl $(NR_syscalls),%eax	jae badsys	testb $0x02,tsk_ptrace(%ebx)	# PT_TRACESYS	jne tracesys	call *SYMBOL_NAME(sys_call_table)(,%eax,4)	movl %eax,EAX(%esp)		# save the return valueENTRY(ret_from_sys_call)	cli				# need_resched and signals atomic test	cmpl $0,need_resched(%ebx)	jne reschedule	cmpl $0,sigpending(%ebx)	jne signal_returnrestore_all:	RESTORE_ALL	ALIGNsignal_return:	sti				# we can get here from an interrupt handler	testl $(VM_MASK),EFLAGS(%esp)	movl %esp,%eax	jne v86_signal_return	xorl %edx,%edx	call SYMBOL_NAME(do_signal)	jmp restore_all	ALIGNv86_signal_return:	call SYMBOL_NAME(save_v86_state)	movl %eax,%esp	xorl %edx,%edx	call SYMBOL_NAME(do_signal)	jmp restore_all	ALIGNtracesys:	movl $-ENOSYS,EAX(%esp)	call SYMBOL_NAME(syscall_trace)	movl ORIG_EAX(%esp),%eax	cmpl $(NR_syscalls),%eax	jae tracesys_exit	call *SYMBOL_NAME(sys_call_table)(,%eax,4)	movl %eax,EAX(%esp)		# save the return valuetracesys_exit:	call SYMBOL_NAME(syscall_trace)	jmp ret_from_sys_callbadsys:	movl $-ENOSYS,EAX(%esp)	jmp ret_from_sys_call	ALIGNENTRY(ret_from_intr)	GET_CURRENT(%ebx)ret_from_exception:	movl EFLAGS(%esp),%eax		# mix EFLAGS and CS	movb CS(%esp),%al	testl $(VM_MASK | 3),%eax	# return to VM86 mode or non-supervisor?	jne ret_from_sys_call	jmp restore_all	ALIGNreschedule:	call SYMBOL_NAME(schedule)    # test	jmp ret_from_sys_callENTRY(divide_error)	pushl $0		# no error code	pushl $ SYMBOL_NAME(do_divide_error)	ALIGNerror_code:	pushl %ds	pushl %eax	xorl %eax,%eax	pushl %ebp	pushl %edi	pushl %esi	pushl %edx	decl %eax			# eax = -1	pushl %ecx	pushl %ebx	cld	movl %es,%ecx	movl ORIG_EAX(%esp), %esi	# get the error code	movl ES(%esp), %edi		# get the function address	movl %eax, ORIG_EAX(%esp)	movl %ecx, ES(%esp)	movl %esp,%edx	pushl %esi			# push the error code	pushl %edx			# push the pt_regs pointer	movl $(__KERNEL_DS),%edx	cmpl %edx,%ecx	jz	1f	movl %edx,%ds	movl %edx,%es1:	GET_CURRENT(%ebx)	call *%edi	addl $8,%esp	jmp ret_from_exceptionENTRY(coprocessor_error)	pushl $0	pushl $ SYMBOL_NAME(do_coprocessor_error)	jmp error_codeENTRY(simd_coprocessor_error)	pushl $0	pushl $ SYMBOL_NAME(do_simd_coprocessor_error)	jmp error_codeENTRY(device_not_available)	pushl $-1		# mark this as an int	SAVE_ALL	GET_CURRENT(%ebx)	movl %cr0,%eax	testl $0x4,%eax			# EM (math emulation bit)	jne device_not_available_emulate	call SYMBOL_NAME(math_state_restore)	jmp ret_from_exceptiondevice_not_available_emulate:	pushl $0		# temporary storage for ORIG_EIP	call  SYMBOL_NAME(math_emulate)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本高清不卡视频| 国产一区二区在线电影| 色94色欧美sute亚洲线路二| 中文字幕不卡在线观看| av亚洲精华国产精华| 亚洲乱码中文字幕| 欧美高清视频不卡网| 秋霞电影网一区二区| 精品少妇一区二区三区在线播放| 精品无人区卡一卡二卡三乱码免费卡| 亚洲精品在线三区| aaa欧美日韩| 午夜精品视频在线观看| 日韩欧美一级精品久久| 国产91色综合久久免费分享| 一区二区三区在线影院| 欧美剧情电影在线观看完整版免费励志电影 | 亚洲精品免费在线观看| 欧美在线色视频| 日韩中文字幕av电影| 久久精品免费在线观看| 欧美中文字幕亚洲一区二区va在线| 亚洲午夜激情av| 久久久亚洲高清| 欧美三级三级三级爽爽爽| 极品销魂美女一区二区三区| 亚洲欧美在线观看| 欧美一级精品大片| 99精品久久只有精品| 日韩av电影免费观看高清完整版在线观看| 国产三级精品三级在线专区| 91国偷自产一区二区开放时间| 精品综合久久久久久8888| 亚洲人吸女人奶水| 亚洲精品一区二区在线观看| 91蜜桃婷婷狠狠久久综合9色| 麻豆精品国产91久久久久久| 中文字幕一区日韩精品欧美| 欧美一级欧美三级| 成人在线综合网| 日本亚洲视频在线| 亚洲精品午夜久久久| 久久一区二区视频| 欧美嫩在线观看| 色综合婷婷久久| 成人性生交大片免费看中文| 青青草成人在线观看| 一区二区成人在线视频| 中文乱码免费一区二区| 精品国产123| 欧美精品乱码久久久久久 | 久久99热狠狠色一区二区| 亚洲裸体xxx| 久久久91精品国产一区二区三区| 欧美久久久久久蜜桃| 日本韩国一区二区三区| 99视频超级精品| 国产激情一区二区三区四区| 日韩电影免费一区| 午夜久久久久久电影| 一区二区三区精品视频| 自拍偷拍国产精品| 国产精品久久久久永久免费观看 | 国产女人aaa级久久久级| 日韩欧美一区在线观看| 欧美日韩精品高清| 精品1区2区3区| 91传媒视频在线播放| 99视频在线观看一区三区| 成人免费电影视频| 国产69精品一区二区亚洲孕妇| 久久66热re国产| 久久国产综合精品| 裸体歌舞表演一区二区| 日本大胆欧美人术艺术动态| 亚洲h精品动漫在线观看| 亚洲午夜在线观看视频在线| 亚洲高清视频的网址| 一区二区高清视频在线观看| 亚洲一区二区在线免费观看视频| 伊人夜夜躁av伊人久久| 亚洲免费看黄网站| 亚洲乱码国产乱码精品精小说| 亚洲裸体在线观看| 亚洲图片自拍偷拍| 五月天网站亚洲| 另类中文字幕网| 国产美女视频91| 成人爽a毛片一区二区免费| 成人亚洲精品久久久久软件| 91免费版在线| 欧美日本乱大交xxxxx| 精品区一区二区| 国产日韩欧美不卡| 亚洲欧洲国产专区| 亚洲午夜日本在线观看| 天天综合色天天综合| 久久国产尿小便嘘嘘| 国产精品一区二区三区乱码| 丁香婷婷综合五月| 91理论电影在线观看| 欧美日韩国产欧美日美国产精品| 日韩欧美一级精品久久| 国产精品三级av| 亚洲小说欧美激情另类| 九九热在线视频观看这里只有精品| 国产精品一区二区在线观看网站 | 精品视频999| 精品福利av导航| 亚洲免费观看高清| 日本美女一区二区三区视频| 成人性视频网站| 69久久99精品久久久久婷婷 | 国产宾馆实践打屁股91| 色婷婷综合久久久久中文一区二区| 欧美日韩一区不卡| 久久亚洲精精品中文字幕早川悠里| 国产精品久久久久婷婷| 午夜亚洲福利老司机| 国产91在线|亚洲| 91精品国产全国免费观看| 国产精品久99| 免费久久精品视频| 色综合色综合色综合色综合色综合 | 成人欧美一区二区三区白人| 亚洲电影中文字幕在线观看| 国产精品资源网站| 欧美精品一卡二卡| 国产精品网站导航| 精品写真视频在线观看| 在线观看亚洲一区| 国产精品伦理在线| 看片的网站亚洲| 欧美性一二三区| 中文字幕视频一区| 国产在线观看一区二区| 欧美日韩国产综合久久 | 一区二区三区不卡在线观看| 国产精品一区在线| 精品日韩一区二区| 日日欢夜夜爽一区| 欧美视频一区在线观看| 国产精品美日韩| 国产精品一色哟哟哟| 91精品在线免费| 亚洲国产三级在线| 日本久久电影网| 国产精品青草久久| 风间由美一区二区av101| 欧美变态凌虐bdsm| 日本中文字幕一区二区有限公司| 色噜噜久久综合| 国产精品精品国产色婷婷| 国产成人精品一区二| 精品少妇一区二区三区日产乱码| 午夜精品福利在线| 欧美日韩一区二区三区在线| 亚洲精品国久久99热| 成人h版在线观看| ...xxx性欧美| 99国产精品久| 亚洲视频一区在线| 色悠悠亚洲一区二区| 亚洲欧美日韩在线不卡| 色综合久久综合| 亚洲欧美激情插| 91黄色免费网站| 亚洲午夜成aⅴ人片| 欧美日本乱大交xxxxx| 五月综合激情婷婷六月色窝| 欧美日韩二区三区| 午夜天堂影视香蕉久久| 欧美高清精品3d| 激情综合网激情| 国产亚洲欧美中文| 成人app网站| 亚洲综合自拍偷拍| 欧美久久高跟鞋激| 男女视频一区二区| 久久蜜桃一区二区| 99在线精品一区二区三区| 综合久久综合久久| 欧美午夜理伦三级在线观看| 亚洲成人免费视| 日韩午夜在线观看| 国产精品99久久久久久久vr| 国产精品污网站| 欧美亚洲一区三区| 日韩电影一区二区三区四区| 日韩欧美中文一区二区| 国产一区二区三区免费播放| 国产精品毛片高清在线完整版| 色婷婷综合激情| 日韩精品亚洲专区| 久久久久久久av麻豆果冻| 色婷婷综合中文久久一本| 美女视频网站久久| 国产精品灌醉下药二区| 欧美午夜一区二区| 国产精品69久久久久水密桃 |