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

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

?? entry.s

?? 《嵌入式系統設計與實例開發實驗教材二源碼》Linux內核移植與編譯實驗
?? 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>#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;	\1:	popl %ds;	\2:	popl %es;	\	addl $4,%esp;	\3:	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	andl $-8192,%ebx	# GET_CURRENT	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	andl $-8192,%ebx	# GET_CURRENT	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)	testb $0x02,tsk_ptrace(%ebx)	# PT_TRACESYS	jne tracesys	cmpl $(NR_syscalls),%eax	jae badsys	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	movl %edx,%ds	movl %edx,%es	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)	addl $4,%esp	jmp ret_from_exceptionENTRY(debug)	pushl $0	pushl $ SYMBOL_NAME(do_debug)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av亚洲精华国产精华| 在线免费观看日韩欧美| 一本一本大道香蕉久在线精品| 91久久香蕉国产日韩欧美9色| 欧美成人女星排行榜| 一区二区三区高清在线| 国产成人无遮挡在线视频| 欧美一区永久视频免费观看| 一区二区三区四区亚洲| 成人免费视频免费观看| 欧美变态凌虐bdsm| 日韩国产欧美在线视频| 欧美在线看片a免费观看| 亚洲国产精品传媒在线观看| 经典三级在线一区| 日韩视频在线你懂得| 亚洲自拍偷拍综合| 94色蜜桃网一区二区三区| 国产欧美日韩卡一| 国产精品亚洲午夜一区二区三区| 日韩一区和二区| 亚洲成a人v欧美综合天堂下载| 色婷婷av一区二区三区gif| 国产精品久线观看视频| 不卡视频在线观看| 中文字幕日韩一区二区| 成人伦理片在线| 国产精品污网站| 国产成人精品网址| 欧美国产精品一区二区| 国产91精品精华液一区二区三区| 26uuu色噜噜精品一区| 韩国v欧美v日本v亚洲v| 久久午夜色播影院免费高清 | 日韩欧美色电影| 日韩成人精品视频| 欧美一区二区性放荡片| 麻豆91精品视频| 精品福利一区二区三区免费视频| 久久爱www久久做| 国产午夜久久久久| av爱爱亚洲一区| 一区二区三区在线视频观看 | 亚洲第一会所有码转帖| 欧美老女人第四色| 麻豆国产精品777777在线| 久久亚洲一级片| eeuss鲁片一区二区三区在线看| 一区二区三区中文免费| 欧美丰满一区二区免费视频| 精品一区二区三区在线观看| 久久精品在线免费观看| 99视频国产精品| 亚洲sss视频在线视频| 日韩西西人体444www| 丰满少妇久久久久久久| 亚洲影院免费观看| 欧美大片免费久久精品三p| 国产成人免费在线视频| 亚洲欧美一区二区三区极速播放| 91传媒视频在线播放| 美洲天堂一区二卡三卡四卡视频 | 精品国一区二区三区| 国产成人啪免费观看软件| 亚洲一线二线三线久久久| 精品久久久久久久久久久久包黑料| 成人福利视频在线| 视频一区免费在线观看| 亚洲国产精品ⅴa在线观看| 欧美三片在线视频观看| 国产精品一级在线| 五月天网站亚洲| 国产精品婷婷午夜在线观看| 欧美老肥妇做.爰bbww| 白白色 亚洲乱淫| 丝袜亚洲另类丝袜在线| 国产精品传媒在线| 日韩免费观看高清完整版| av电影在线不卡| 日韩av成人高清| 亚洲欧美日韩精品久久久久| 日韩欧美一区在线观看| 91福利区一区二区三区| 国产91露脸合集magnet| 麻豆国产精品官网| 亚洲成a人v欧美综合天堂下载| 中文字幕中文字幕一区| 欧美第一区第二区| 欧美日韩一区二区三区高清| 99久久国产综合色|国产精品| 极品少妇一区二区| 免费人成网站在线观看欧美高清| 亚洲品质自拍视频| 亚洲国产精华液网站w| 亚洲精品在线网站| 欧美tickling挠脚心丨vk| 欧美日韩免费观看一区三区| 91网上在线视频| www.日韩大片| 成人免费高清视频在线观看| 国产在线看一区| 久热成人在线视频| 青青草91视频| 奇米四色…亚洲| 日韩电影一二三区| 午夜激情综合网| 日本欧美一区二区| 青青草91视频| 毛片基地黄久久久久久天堂| 日韩电影一二三区| 麻豆精品在线播放| 九九视频精品免费| 久久国产精品区| 国产精品一区在线观看乱码| 国产裸体歌舞团一区二区| 黄色资源网久久资源365| 精久久久久久久久久久| 国产成人在线观看| av中文字幕不卡| 色婷婷av一区二区| 欧美日韩aaaaa| 欧美成人一区二区三区片免费| 日韩无一区二区| 国产亚洲福利社区一区| 久久精品在这里| 亚洲色图清纯唯美| 伊人色综合久久天天人手人婷| 亚洲一区日韩精品中文字幕| 亚洲电影欧美电影有声小说| 免费欧美日韩国产三级电影| 精品亚洲国产成人av制服丝袜| 国产成人a级片| 色婷婷综合久久久中文字幕| 91精品在线麻豆| 久久品道一品道久久精品| 亚洲欧洲美洲综合色网| 亚洲一区视频在线| 国产综合成人久久大片91| 成人激情小说网站| 欧美三级日韩三级| 日韩欧美不卡在线观看视频| 国产亚洲污的网站| 亚洲天堂福利av| 青青草精品视频| a美女胸又www黄视频久久| 欧美老女人第四色| 日本一区二区三区在线不卡 | 国产精品99久久久久久久女警 | 青青草国产精品97视觉盛宴| 国产激情一区二区三区四区| 91麻豆精东视频| 欧美一区二区视频免费观看| 国产清纯白嫩初高生在线观看91 | 欧美一级艳片视频免费观看| 日韩视频一区二区在线观看| 国产精品美日韩| 日韩电影在线观看电影| 一区在线观看视频| 蜜臀av性久久久久蜜臀aⅴ四虎| 成人免费毛片片v| 91精品综合久久久久久| 亚洲少妇30p| 国产高清不卡二三区| 欧美日本在线视频| 亚洲欧洲av一区二区三区久久| 蜜臀久久99精品久久久画质超高清| 成人免费视频caoporn| 欧美哺乳videos| 婷婷丁香激情综合| 97久久精品人人做人人爽50路| 日韩欧美高清在线| 三级成人在线视频| 色综合久久综合中文综合网| 久久免费精品国产久精品久久久久| 亚州成人在线电影| 欧美自拍偷拍一区| 中文字幕一区免费在线观看| 国产真实乱对白精彩久久| 欧美一区二区三区播放老司机| 亚洲女女做受ⅹxx高潮| 波多野结衣中文字幕一区二区三区| 欧美电影免费观看完整版| 亚洲免费伊人电影| 国产经典欧美精品| 国产亚洲午夜高清国产拍精品| 欧美日韩国产精品成人| 欧美高清性hdvideosex| 亚洲免费观看高清完整版在线观看熊| 国产精品1区二区.| 精品人伦一区二区色婷婷| 青青草国产精品97视觉盛宴| 欧美精品一二三区| 香蕉久久夜色精品国产使用方法 | 亚洲va天堂va国产va久| 色视频成人在线观看免| 亚洲人妖av一区二区| heyzo一本久久综合| 国产精品视频看| av欧美精品.com| 亚洲黄色尤物视频|