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

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

?? util.s

?? 底層驅動開發
?? S
字號:
/* * arch/ppc/boot/common/util.S * * Useful bootup functions, which are more easily done in asm than C. * * NOTE:  Be very very careful about the registers you use here. *	We don't follow any ABI calling convention among the *	assembler functions that call each other, especially early *	in the initialization.  Please preserve at least r3 and r4 *	for these early functions, as they often contain information *	passed from boot roms into the C decompress function. * * Author: Tom Rini *	   trini@mvista.com * Derived from arch/ppc/boot/prep/head.S (Cort Dougan, many others). * * 2001-2004 (c) MontaVista, Software, Inc.  This file is licensed under * the terms of the GNU General Public License version 2.  This program * is licensed "as is" without any warranty of any kind, whether express * or implied. */#include <asm/processor.h>#include <asm/cache.h>#include <asm/ppc_asm.h>	.text#ifdef CONFIG_6xx	.globl	disable_6xx_mmudisable_6xx_mmu:	/* Establish default MSR value, exception prefix 0xFFF.	 * If necessary, this function must fix up the LR if we	 * return to a different address space once the MMU is	 * disabled.	 */	li	r8,MSR_IP|MSR_FP	mtmsr	r8	isync	/* Test for a 601 */	mfpvr	r10	srwi	r10,r10,16	cmpwi	0,r10,1		/* 601 ? */	beq	.clearbats_601	/* Clear BATs */	li	r8,0	mtspr	SPRN_DBAT0U,r8	mtspr	SPRN_DBAT0L,r8	mtspr	SPRN_DBAT1U,r8	mtspr	SPRN_DBAT1L,r8	mtspr	SPRN_DBAT2U,r8	mtspr	SPRN_DBAT2L,r8	mtspr	SPRN_DBAT3U,r8	mtspr	SPRN_DBAT3L,r8.clearbats_601:	mtspr	SPRN_IBAT0U,r8	mtspr	SPRN_IBAT0L,r8	mtspr	SPRN_IBAT1U,r8	mtspr	SPRN_IBAT1L,r8	mtspr	SPRN_IBAT2U,r8	mtspr	SPRN_IBAT2L,r8	mtspr	SPRN_IBAT3U,r8	mtspr	SPRN_IBAT3L,r8	isync	sync	sync	/* Set segment registers */	li	r8,16		/* load up segment register values */	mtctr	r8		/* for context 0 */	lis	r8,0x2000	/* Ku = 1, VSID = 0 */	li	r10,03:	mtsrin	r8,r10	addi	r8,r8,0x111	/* increment VSID */	addis	r10,r10,0x1000	/* address of next segment */	bdnz	3b	blr	.globl	disable_6xx_l1cachedisable_6xx_l1cache:	/* Enable, invalidate and then disable the L1 icache/dcache. */	li	r8,0	ori	r8,r8,(HID0_ICE|HID0_DCE|HID0_ICFI|HID0_DCI)	mfspr	r11,SPRN_HID0	or	r11,r11,r8	andc	r10,r11,r8	isync	mtspr	SPRN_HID0,r8	sync	isync	mtspr	SPRN_HID0,r10	sync	isync	blr#endif	.globl	_setup_L2CR_setup_L2CR:/* * We should be skipping this section on CPUs where this results in an * illegal instruction.  If not, please send trini@kernel.crashing.org * the PVR of your CPU. */	/* Invalidate/disable L2 cache */	sync	isync	mfspr	r8,SPRN_L2CR	rlwinm	r8,r8,0,1,31	oris	r8,r8,L2CR_L2I@h	sync	isync	mtspr	SPRN_L2CR,r8	sync	isync	/* Wait for the invalidation to complete */	mfspr   r8,SPRN_PVR	srwi    r8,r8,16	cmplwi	cr0,r8,0x8000			/* 7450 */	cmplwi	cr1,r8,0x8001			/* 7455 */	cmplwi	cr2,r8,0x8002			/* 7457 */	cror	4*cr0+eq,4*cr0+eq,4*cr1+eq	/* Now test if any are true. */	cror	4*cr0+eq,4*cr0+eq,4*cr2+eq	bne     2f1:	mfspr	r8,SPRN_L2CR	/* On 745x, poll L2I bit (bit 10) */	rlwinm.	r9,r8,0,10,10	bne	1b	b	3f2:      mfspr   r8,SPRN_L2CR	/* On 75x & 74[01]0, poll L2IP bit (bit 31) */	rlwinm. r9,r8,0,31,31	bne     2b3:	rlwinm	r8,r8,0,11,9	/* Turn off L2I bit */	sync	isync	mtspr	SPRN_L2CR,r8	sync	isync	blr	.globl	_setup_L3CR_setup_L3CR:	/* Invalidate/disable L3 cache */	sync	isync	mfspr	r8,SPRN_L3CR	rlwinm	r8,r8,0,1,31	ori	r8,r8,L3CR_L3I@l	sync	isync	mtspr	SPRN_L3CR,r8	sync	isync	/* Wait for the invalidation to complete */1:	mfspr	r8,SPRN_L3CR	rlwinm.	r9,r8,0,21,21	bne	1b	rlwinm	r8,r8,0,22,20		/* Turn off L3I bit */	sync	isync	mtspr	SPRN_L3CR,r8	sync	isync	blr/* udelay (on non-601 processors) needs to know the period of the * timebase in nanoseconds.  This used to be hardcoded to be 60ns * (period of 66MHz/4).  Now a variable is used that is initialized to * 60 for backward compatibility, but it can be overridden as necessary * with code something like this: *    extern unsigned long timebase_period_ns; *    timebase_period_ns = 1000000000 / bd->bi_tbfreq; */	.data	.globl timebase_period_nstimebase_period_ns:	.long	60	.text/* * Delay for a number of microseconds */	.globl	udelayudelay:	mfspr	r4,SPRN_PVR	srwi	r4,r4,16	cmpwi	0,r4,1		/* 601 ? */	bne	.udelay_not_60100:	li	r0,86	/* Instructions / microsecond? */	mtctr	r010:	addi	r0,r0,0 /* NOP */	bdnz	10b	subic.	r3,r3,1	bne	00b	blr.udelay_not_601:	mulli	r4,r3,1000	/* nanoseconds */	/*  Change r4 to be the number of ticks using:		 *	(nanoseconds + (timebase_period_ns - 1 )) / timebase_period_ns	 *  timebase_period_ns defaults to 60 (16.6MHz) */	lis	r5,timebase_period_ns@ha	lwz	r5,timebase_period_ns@l(r5)	add	r4,r4,r5	addi	r4,r4,-1	divw	r4,r4,r5	/* BUS ticks */1:	mftbu	r5	mftb	r6	mftbu	r7	cmpw	0,r5,r7	bne	1b		/* Get [synced] base time */	addc	r9,r6,r4	/* Compute end time */	addze	r8,r52:	mftbu	r5	cmpw	0,r5,r8	blt	2b	bgt	3f	mftb	r6	cmpw	0,r6,r9	blt	2b3:	blr	.section ".relocate_code","xa"/* * Flush and enable instruction cache * First, flush the data cache in case it was enabled and may be * holding instructions for copy back. */_GLOBAL(flush_instruction_cache)	mflr	r6	bl	flush_data_cache#ifdef CONFIG_8xx	lis	r3, IDC_INVALL@h	mtspr	SPRN_IC_CST, r3	lis	r3, IDC_ENABLE@h	mtspr	SPRN_IC_CST, r3	lis	r3, IDC_DISABLE@h	mtspr	SPRN_DC_CST, r3#elif CONFIG_4xx	lis	r3,start@h		# r9 = &_start	lis	r4,_etext@ha	addi	r4,r4,_etext@l		# r8 = &_etext1:	dcbf	r0,r3			# Flush the data cache	icbi	r0,r3			# Invalidate the instruction cache	addi	r3,r3,0x10		# Increment by one cache line	cmplw	cr0,r3,r4		# Are we at the end yet?	blt	1b			# No, keep flushing and invalidating#else	/* Enable, invalidate and then disable the L1 icache/dcache. */	li	r3,0	ori	r3,r3,(HID0_ICE|HID0_DCE|HID0_ICFI|HID0_DCI)	mfspr	r4,SPRN_HID0	or	r5,r4,r3	isync	mtspr	SPRN_HID0,r5	sync	isync	ori	r5,r4,HID0_ICE	/* Enable cache */	mtspr	SPRN_HID0,r5	sync	isync#endif	mtlr	r6	blr#define NUM_CACHE_LINES 128*8#define cache_flush_buffer 0x1000/* * Flush data cache * Do this by just reading lots of stuff into the cache. */_GLOBAL(flush_data_cache)	lis	r3,cache_flush_buffer@h	ori	r3,r3,cache_flush_buffer@l	li	r4,NUM_CACHE_LINES	mtctr	r400:	lwz	r4,0(r3)	addi	r3,r3,L1_CACHE_BYTES	/* Next line, please */	bdnz	00b10:	blr	.previous

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美一区二区三区在线| 久久久久综合网| 精品国产麻豆免费人成网站| 国产精品视频麻豆| 裸体在线国模精品偷拍| 色婷婷av久久久久久久| 国产亚洲精品免费| 青青国产91久久久久久| 91婷婷韩国欧美一区二区| 2020日本不卡一区二区视频| 亚洲国产视频在线| 91在线你懂得| 欧美激情一区二区三区四区| 久久成人羞羞网站| 欧美一级片在线看| 亚洲成人免费在线观看| 色网站国产精品| 国产网站一区二区| 国内久久婷婷综合| 日韩免费观看高清完整版| 日韩有码一区二区三区| 91久久精品一区二区| 最新热久久免费视频| 成人一区二区三区| 国产欧美一区二区在线| 国产精品伊人色| 久久老女人爱爱| 国产在线播精品第三| 26uuu久久综合| 国产一区二区三区电影在线观看| 在线91免费看| 调教+趴+乳夹+国产+精品| 欧美亚洲一区三区| 亚洲成人资源网| 91精品国产综合久久蜜臀 | 一个色在线综合| 99久久国产免费看| 亚洲男人天堂一区| 在线看日本不卡| 午夜免费久久看| 欧美一级日韩不卡播放免费| 久久成人免费网站| 国产欧美一区二区精品忘忧草| 黑人巨大精品欧美黑白配亚洲| 26uuu欧美| 成人黄色在线网站| 一区二区激情视频| 欧美精品日韩一本| 久久99精品久久久久| 2023国产精品| 99这里只有精品| 国产精品黄色在线观看| 欧洲人成人精品| 亚洲裸体xxx| 欧美老女人在线| 国内久久婷婷综合| 亚洲另类在线制服丝袜| 欧美日韩午夜精品| 久久国产婷婷国产香蕉| 国产精品国产三级国产有无不卡| 一本久道中文字幕精品亚洲嫩| 亚洲电影中文字幕在线观看| 欧美一区二区久久| 成人午夜在线播放| 天天综合日日夜夜精品| 久久色成人在线| 色综合激情久久| 老司机午夜精品99久久| 国产精品全国免费观看高清| 欧美影片第一页| 成人小视频在线| 日韩精品成人一区二区在线| 国产亚洲自拍一区| 精品婷婷伊人一区三区三| 国产最新精品精品你懂的| 亚洲伦理在线精品| 久久综合给合久久狠狠狠97色69| 99国产精品久久久| 久久精品国产77777蜜臀| 亚洲精品久久久久久国产精华液 | 97精品电影院| 麻豆国产欧美日韩综合精品二区| 中文字幕日本不卡| 日韩美女一区二区三区四区| 一本色道久久综合精品竹菊| 国产一区二区三区四区五区美女| 亚洲一二三区在线观看| 久久丝袜美腿综合| 日韩天堂在线观看| 欧美中文字幕一二三区视频| 国产成人av电影| 久久精品国产一区二区三区免费看| 亚洲精品伦理在线| 亚洲国产精品高清| 久久久久久电影| 日韩亚洲欧美一区| 欧洲人成人精品| 97久久久精品综合88久久| 国产伦精一区二区三区| 久久国产人妖系列| hitomi一区二区三区精品| 久久er精品视频| 免费美女久久99| 日韩高清在线一区| 亚洲综合丝袜美腿| 一区二区三区欧美激情| 亚洲三级小视频| 亚洲欧洲色图综合| 一区视频在线播放| 国产精品成人网| 国产精品狼人久久影院观看方式| 欧美经典一区二区三区| 日韩美女视频在线| 日韩欧美精品在线视频| 日韩一区二区影院| 精品国产一区二区精华| 久久蜜臀精品av| 国产视频一区二区在线观看| 精品电影一区二区| 久久九九久精品国产免费直播| 久久久久高清精品| 国产欧美一区二区精品忘忧草| 国产丝袜在线精品| 亚洲欧美综合色| 一区二区三区在线观看欧美| 亚洲精品伦理在线| 日韩国产精品91| 韩国视频一区二区| 成人性生交大片免费看在线播放 | 欧美激情艳妇裸体舞| 国产欧美精品日韩区二区麻豆天美| 久久精品99国产精品| 国产在线播放一区三区四| 成人免费av网站| 色婷婷av一区二区三区之一色屋| 欧美日韩高清一区二区| 欧美r级电影在线观看| 中文字幕的久久| 亚洲综合色区另类av| 日韩1区2区3区| 国产高清视频一区| 91香蕉视频mp4| 91精品在线观看入口| 久久久久久久一区| 亚洲美女屁股眼交3| 日产国产欧美视频一区精品| 国产精品18久久久| 欧美三级日韩三级国产三级| 精品成人私密视频| 亚洲综合在线电影| 久久99国产精品免费| av不卡在线播放| 这里只有精品视频在线观看| 中文字幕精品在线不卡| 亚洲国产成人va在线观看天堂| 精品一区二区三区蜜桃| 97se亚洲国产综合自在线观| 欧美一二三在线| 亚洲精品免费在线播放| 国产麻豆91精品| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 精品久久久久久久久久久院品网| 亚洲视频你懂的| 精东粉嫩av免费一区二区三区| 91网站在线观看视频| 久久久九九九九| 日韩精品高清不卡| 在线中文字幕一区二区| 国产午夜久久久久| 久久电影国产免费久久电影| 欧美午夜视频网站| 亚洲色欲色欲www在线观看| 国内精品在线播放| 欧美日韩电影在线播放| 亚洲色图欧美偷拍| 国产成人亚洲综合a∨婷婷 | 日韩av在线播放中文字幕| 国产不卡免费视频| 日韩精品一区在线| 午夜不卡av在线| 在线观看国产91| 中文字幕一区二区三区不卡在线 | 久久久久亚洲综合| 蜜臀av一区二区在线免费观看 | 亚洲mv在线观看| 91视频一区二区三区| 亚洲国产经典视频| 国产一区二区三区四区五区美女 | 欧美日韩精品是欧美日韩精品| 国产精品免费久久| 国产·精品毛片| 国产喂奶挤奶一区二区三区 | 日韩激情视频在线观看| 91久久精品一区二区二区| 亚洲欧美一区二区三区国产精品 | 国产婷婷色一区二区三区在线| 蜜臀av一级做a爰片久久| 欧美精品久久一区| 日韩和欧美一区二区| 欧美另类久久久品|