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

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

?? head-armv.s

?? linux和2410結合開發 用他可以生成2410所需的zImage文件
?? S
字號:
/* *  linux/arch/arm/kernel/head-armv.S * *  Copyright (C) 1994-1999 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * *  32-bit kernel startup code for all architectures */#include <linux/config.h>#include <linux/linkage.h>#include <asm/assembler.h>#include <asm/mach-types.h>#include <asm/mach/arch.h>#define K(a,b,c)	((a) << 24 | (b) << 12 | (c))/* * We place the page tables 16K below TEXTADDR.  Therefore, we must make sure * that TEXTADDR is correctly set.  Currently, we expect the least significant * "short" to be 0x8000, but we could probably relax this restriction to * TEXTADDR > PAGE_OFFSET + 0x4000 * * Note that swapper_pg_dir is the virtual address of the page tables, and * pgtbl gives us a position-independent reference to these tables.  We can * do this because stext == TEXTADDR * * swapper_pg_dir, pgtbl and krnladr are all closely related. */#if (TEXTADDR & 0xffff) != 0x8000#error TEXTADDR must start at 0xXXXX8000#endif		.globl	SYMBOL_NAME(swapper_pg_dir)		.equ	SYMBOL_NAME(swapper_pg_dir), TEXTADDR - 0x4000		.macro	pgtbl, reg, rambase		adr	\reg, stext		sub	\reg, \reg, #0x4000		.endm/* * Since the page table is closely related to the kernel start address, we * can convert the page table base address to the base address of the section * containing both. */		.macro	krnladr, rd, pgtable, rambase		bic	\rd, \pgtable, #0x000ff000		.endm/* *  Kernel startup entry point. * * The rules are: *  r0      - should be 0 *  r1      - unique architecture number *  MMU     - off *  I-cache - on or off *  D-cache - off * * See linux/arch/arm/tools/mach-types for the complete list of numbers * for r1. */		.section ".text.init",#alloc,#execinstr		.type	stext, #functionENTRY(stext)		mov	r12, r0/* * NOTE!  Any code which is placed here should be done for one of * the following reasons: * *  1. Compatability with old production boot firmware (ie, users *     actually have and are booting the kernel with the old firmware) *     and therefore will be eventually removed. *  2. Cover the case when there is no boot firmware.  This is not *     ideal, but in this case, it should ONLY set r0 and r1 to the *     appropriate value. */#if defined(CONFIG_ARCH_NETWINDER)/* * Compatability cruft for old NetWinder NeTTroms.  This * code is currently scheduled for destruction in 2.5.xx */		.rept	8		mov	r0, r0		.endr		adr	r2, 1f		ldmdb	r2, {r7, r8}		and	r3, r2, #0xc000		teq	r3, #0x8000		beq	__entry		bic	r3, r2, #0xc000		orr	r3, r3, #0x8000		mov	r0, r3		mov	r4, #64		sub	r5, r8, r7		b	1f		.word	_stext		.word	__bss_start1:		.rept	4		ldmia	r2!, {r6, r7, r8, r9}		stmia	r3!, {r6, r7, r8, r9}		.endr		subs	r4, r4, #64		bcs	1b		movs	r4, r5		mov	r5, #0		movne	pc, r0		mov	r1, #MACH_TYPE_NETWINDER	@ (will go in 2.5)		mov	r12, #2 << 24			@ scheduled for removal in 2.5.xx		orr	r12, r12, #5 << 12__entry:#endif#if defined(CONFIG_ARCH_L7200)/* * FIXME - No bootloader, so manually set 'r1' with our architecture number. */		mov	r1, #MACH_TYPE_L7200#endif		mov	r0, #F_BIT | I_BIT | MODE_SVC	@ make sure svc mode		msr	cpsr_c, r0			@ and all irqs disabled		bl	__lookup_processor_type		teq	r10, #0				@ invalid processor?		moveq	r0, #'p'			@ yes, error 'p'		beq	__error		bl	__lookup_architecture_type		teq	r7, #0				@ invalid architecture?		moveq	r0, #'a'			@ yes, error 'a'		beq	__error		bl	__create_page_tables		adr	lr, __ret			@ return address		add	pc, r10, #12			@ initialise processor							@ (return control reg)		.type	__switch_data, %object__switch_data:	.long	__mmap_switched		.long	SYMBOL_NAME(__bss_start)		.long	SYMBOL_NAME(_end)		.long	SYMBOL_NAME(processor_id)		.long	SYMBOL_NAME(__machine_arch_type)		.long	SYMBOL_NAME(cr_alignment)		.long	SYMBOL_NAME(init_task_union)+8192		.type	__ret, %function__ret:		ldr	lr, __switch_data		mcr	p15, 0, r0, c1, c0		mov	r0, r0		mov	r0, r0		mov	r0, r0		mov	pc, lr		/*		 * This code follows on after the page		 * table switch and jump above.		 *		 * r0  = processor control register		 * r1  = machine ID		 * r9  = processor ID		 */		.align	5__mmap_switched:		adr	r3, __switch_data + 4		ldmia	r3, {r4, r5, r6, r7, r8, sp}@ r2 = compat							@ sp = stack pointer		mov	fp, #0				@ Clear BSS (and zero fp)1:		cmp	r4, r5		strcc	fp, [r4],#4		bcc	1b		str	r9, [r6]			@ Save processor ID		str	r1, [r7]			@ Save machine type#ifdef CONFIG_ALIGNMENT_TRAP		orr	r0, r0, #2			@ ...........A.#endif		bic	r2, r0, #2			@ Clear 'A' bit		stmia	r8, {r0, r2}			@ Save control register values		b	SYMBOL_NAME(start_kernel)/* * Setup the initial page tables.  We only setup the barest * amount which are required to get the kernel running, which * generally means mapping in the kernel code. * * We only map in 4MB of RAM, which should be sufficient in * all cases. * * r5 = physical address of start of RAM * r6 = physical IO address * r7 = byte offset into page tables for IO * r8 = page table flags */__create_page_tables:		pgtbl	r4, r5				@ page table address		/*		 * Clear the 16K level 1 swapper page table		 */		mov	r0, r4		mov	r3, #0		add	r2, r0, #0x40001:		str	r3, [r0], #4		str	r3, [r0], #4		str	r3, [r0], #4		str	r3, [r0], #4		teq	r0, r2		bne	1b		/*		 * Create identity mapping for first MB of kernel to		 * cater for the MMU enable.  This identity mapping		 * will be removed by paging_init()		 */		krnladr	r2, r4, r5			@ start of kernel		add	r3, r8, r2			@ flags + kernel base		str	r3, [r4, r2, lsr #18]		@ identity mapping		/*		 * Now setup the pagetables for our kernel direct		 * mapped region.  We round TEXTADDR down to the		 * nearest megabyte boundary.		 */		add	r0, r4, #(TEXTADDR & 0xff000000) >> 18 @ start of kernel		bic	r2, r3, #0x00f00000		str	r2, [r0]			@ PAGE_OFFSET + 0MB		add	r0, r0, #(TEXTADDR & 0x00f00000) >> 18		str	r3, [r0], #4			@ KERNEL + 0MB		add	r3, r3, #1 << 20		str	r3, [r0], #4			@ KERNEL + 1MB		add	r3, r3, #1 << 20		str	r3, [r0], #4			@ KERNEL + 2MB		add	r3, r3, #1 << 20		str	r3, [r0], #4			@ KERNEL + 3MB		/*		 * Ensure that the first section of RAM is present.		 * we assume that:		 *  1. the RAM is aligned to a 32MB boundary		 *  2. the kernel is executing in the same 32MB chunk		 *     as the start of RAM.		 */		bic	r0, r0, #0x01f00000 >> 18	@ round down		and	r2, r5, #0xfe000000		@ round down		add	r3, r8, r2			@ flags + rambase		str	r3, [r0]		bic	r8, r8, #0x0c			@ turn off cacheable							@ and bufferable bits#ifdef CONFIG_DEBUG_LL		/*		 * Map in IO space for serial debugging.		 * This allows debug messages to be output		 * via a serial console before paging_init.		 */		add	r0, r4, r7		rsb	r3, r7, #0x4000	@ PTRS_PER_PGD*sizeof(long)		cmp	r3, #0x0800		addge	r2, r0, #0x0800		addlt	r2, r0, r3		orr	r3, r6, r81:		str	r3, [r0], #4		add	r3, r3, #1 << 20		teq	r0, r2		bne	1b#if defined(CONFIG_ARCH_NETWINDER) || defined(CONFIG_ARCH_CATS)		/*		 * If we're using the NetWinder, we need to map in		 * the 16550-type serial port for the debug messages		 */		teq	r1, #MACH_TYPE_NETWINDER		teqne	r1, #MACH_TYPE_CATS		bne	1f		add	r0, r4, #0x3fc0		mov	r3, #0x7c000000		orr	r3, r3, r8		str	r3, [r0], #4		add	r3, r3, #1 << 20		str	r3, [r0], #41:#endif#endif#ifdef CONFIG_ARCH_RPC		/*		 * Map in screen at 0x02000000 & SCREEN2_BASE		 * Similar reasons here - for debug.  This is		 * only for Acorn RiscPC architectures.		 */		add	r0, r4, #0x80			@ 02000000		mov	r3, #0x02000000		orr	r3, r3, r8		str	r3, [r0]		add	r0, r4, #0x3600			@ d8000000		str	r3, [r0]#endif		mov	pc, lr/* * Exception handling.  Something went wrong and we can't * proceed.  We ought to tell the user, but since we * don't have any guarantee that we're even running on * the right architecture, we do virtually nothing. * r0 = ascii error character: *	a = invalid architecture *	p = invalid processor *	i = invalid calling convention * * Generally, only serious errors cause this. */__error:#ifdef CONFIG_DEBUG_LL		mov	r8, r0				@ preserve r0		adr	r0, err_str		bl	printascii		mov	r0, r8		bl	printch#endif#ifdef CONFIG_ARCH_RPC/* * Turn the screen red on a error - RiscPC only. */		mov	r0, #0x02000000		mov	r3, #0x11		orr	r3, r3, r3, lsl #8		orr	r3, r3, r3, lsl #16		str	r3, [r0], #4		str	r3, [r0], #4		str	r3, [r0], #4		str	r3, [r0], #4#endif1:		mov	r0, r0		b	1b#ifdef CONFIG_DEBUG_LLerr_str:	.asciz	"\nError: "		.align#endif/* * Read processor ID register (CP#15, CR0), and look up in the linker-built * supported processor list.  Note that we can't use the absolute addresses * for the __proc_info lists since we aren't running with the MMU on * (and therefore, we are not in the correct address space).  We have to * calculate the offset. * * Returns: *	r5, r6, r7 corrupted *	r8  = page table flags *	r9  = processor ID *	r10 = pointer to processor structure */__lookup_processor_type:		adr	r5, 2f		ldmia	r5, {r7, r9, r10}		sub	r5, r5, r10			@ convert addresses		add	r7, r7, r5			@ to our address space		add	r10, r9, r5		mrc	p15, 0, r9, c0, c0		@ get processor id1:		ldmia	r10, {r5, r6, r8}		@ value, mask, mmuflags		and	r6, r6, r9			@ mask wanted bits		teq	r5, r6		moveq	pc, lr		add	r10, r10, #36			@ sizeof(proc_info_list)		cmp	r10, r7		blt	1b		mov	r10, #0				@ unknown processor		mov	pc, lr/* * Look in include/asm-arm/procinfo.h and arch/arm/kernel/arch.[ch] for * more information about the __proc_info and __arch_info structures. */2:		.long	__proc_info_end		.long	__proc_info_begin		.long	2b		.long	__arch_info_begin		.long	__arch_info_end/* * Lookup machine architecture in the linker-build list of architectures. * Note that we can't use the absolute addresses for the __arch_info * lists since we aren't running with the MMU on (and therefore, we are * not in the correct address space).  We have to calculate the offset. * *  r1 = machine architecture number * Returns: *  r2, r3, r4 corrupted *  r5 = physical start address of RAM *  r6 = physical address of IO *  r7 = byte offset into page tables for IO */__lookup_architecture_type:		adr	r4, 2b		ldmia	r4, {r2, r3, r5, r6, r7}	@ throw away r2, r3		sub	r5, r4, r5			@ convert addresses		add	r4, r6, r5			@ to our address space		add	r7, r7, r51:		ldr	r5, [r4]			@ get machine type		teq	r5, r1		beq	2f		add	r4, r4, #SIZEOF_MACHINE_DESC		cmp	r4, r7		blt	1b		mov	r7, #0				@ unknown architecture		mov	pc, lr2:		ldmib	r4, {r5, r6, r7}		@ found, get results		mov	pc, lr

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久久9999| 欧美福利视频一区| 国产精品乱人伦| 不卡av免费在线观看| 国产精品传媒入口麻豆| 91国偷自产一区二区开放时间| 一区二区三区在线高清| 欧美日韩国产综合视频在线观看| 日韩精品乱码av一区二区| 欧美一级片免费看| 国产成人8x视频一区二区| 亚洲人成在线观看一区二区| 欧美日韩日日摸| 经典三级一区二区| 亚洲欧美影音先锋| 4438x成人网最大色成网站| 狠狠久久亚洲欧美| 亚洲靠逼com| 日韩精品一区二区三区视频在线观看 | 国产欧美日韩三区| 一本一道波多野结衣一区二区| 亚洲bt欧美bt精品777| 日韩女优av电影| av在线免费不卡| 日韩精品一二三| 日韩av网站在线观看| 国产调教视频一区| 欧美偷拍一区二区| 国产成人av电影在线| 亚洲bt欧美bt精品| 亚洲国产成人午夜在线一区| 欧美日韩不卡在线| 成人午夜视频在线| 蜜桃精品视频在线| 亚洲欧美一区二区久久| 日韩欧美亚洲国产精品字幕久久久| 成人av电影在线网| 日本不卡免费在线视频| 日韩理论片在线| 久久中文字幕电影| 777午夜精品免费视频| 91香蕉视频污在线| 国产综合色在线| 午夜欧美视频在线观看| 中文字幕一区二区视频| 精品国产1区2区3区| 欧美天天综合网| 99国产欧美另类久久久精品| 国产原创一区二区三区| 日本不卡中文字幕| 亚洲一区二区av电影| 日韩一区中文字幕| 日本一区二区免费在线观看视频| 91麻豆精品国产91久久久更新时间| av亚洲精华国产精华| 国产激情91久久精品导航 | 欧美日韩午夜精品| 99久久99久久精品免费观看| 久久er99热精品一区二区| 亚洲3atv精品一区二区三区| 亚洲欧美一区二区久久| 中文字幕一区二区三区乱码在线 | **性色生活片久久毛片| 国产午夜精品久久| 久久久三级国产网站| 欧美一二三四区在线| 欧美福利一区二区| 欧美一区国产二区| 91精品久久久久久蜜臀| 欧美精品日韩一区| 91精品国产综合久久久久久久久久 | 免费观看成人av| 免费美女久久99| 美腿丝袜一区二区三区| 免费成人美女在线观看| 水蜜桃久久夜色精品一区的特点| 亚洲午夜激情av| 天天综合色天天| 免费人成网站在线观看欧美高清| 日韩成人午夜精品| 久久爱www久久做| 国产一区二区三区不卡在线观看| 国产美女在线观看一区| 国产suv精品一区二区6| 成人h动漫精品| 日本乱人伦aⅴ精品| 欧美日韩免费在线视频| 欧美精品日韩综合在线| 欧美成人vps| 欧美国产日本视频| 亚洲欧美激情插 | 在线视频亚洲一区| 69久久99精品久久久久婷婷 | 中文字幕一区免费在线观看| 亚洲毛片av在线| 偷偷要91色婷婷| 久久成人免费网| 成人国产精品免费观看动漫 | 国产成人8x视频一区二区| 99久久精品免费| 欧美日韩精品免费观看视频| 欧美大片一区二区三区| 国产精品沙发午睡系列990531| 亚洲精品综合在线| 美女尤物国产一区| 白白色亚洲国产精品| 欧美日韩国产高清一区二区三区| 精品久久一区二区三区| 中文字幕一区二区日韩精品绯色| 亚洲第四色夜色| 国产麻豆精品theporn| 一本色道亚洲精品aⅴ| 91精品欧美久久久久久动漫 | 久久综合久久综合亚洲| 国产精品成人免费在线| 午夜精品久久久| 国产成人在线视频网站| 欧美视频一区二区三区在线观看| 欧美videos大乳护士334| 亚洲欧美日韩国产综合在线| 久久国产三级精品| 99久久精品国产一区| 精品蜜桃在线看| 悠悠色在线精品| 国产成人鲁色资源国产91色综 | 日韩女优av电影在线观看| 一色屋精品亚洲香蕉网站| 免费观看91视频大全| 91一区二区三区在线播放| 精品国产伦一区二区三区免费| 一区二区三区美女视频| 国产精品自产自拍| 69堂国产成人免费视频| 亚洲另类中文字| 国产91丝袜在线观看| 日韩一级完整毛片| 亚洲一区中文日韩| caoporn国产精品| 久久综合视频网| 全国精品久久少妇| 欧美日本在线播放| 国产精品国产三级国产| 国产一区中文字幕| 日韩一区国产二区欧美三区| 亚洲国产精品一区二区www | 国产成人在线视频免费播放| 日韩写真欧美这视频| 亚洲高清视频的网址| 色综合婷婷久久| 成人免费小视频| 成人app在线| 亚洲国产成人在线| 成人午夜碰碰视频| 国产亚洲精品精华液| 国产资源在线一区| 日韩中文字幕91| 欧美性猛交一区二区三区精品| 中文字幕一区三区| eeuss鲁片一区二区三区在线看| 国产日韩欧美一区二区三区乱码 | 欧美三级视频在线播放| 亚洲美女电影在线| 91免费观看在线| 亚洲另类一区二区| 欧美在线观看18| 一卡二卡三卡日韩欧美| 欧美亚洲一区二区三区四区| 一区二区三区波多野结衣在线观看| 99久久综合国产精品| 中文字幕色av一区二区三区| www.视频一区| 亚洲日本va午夜在线电影| 91麻豆国产精品久久| 亚洲男同性恋视频| 欧美午夜在线观看| 日韩中文字幕一区二区三区| 日韩女优av电影| 国产精品一区二区在线看| 欧美国产精品专区| 色综合色狠狠综合色| 亚洲精品菠萝久久久久久久| 欧美日韩小视频| 美女视频一区在线观看| 久久久久久亚洲综合影院红桃| 国产aⅴ综合色| 亚洲男人天堂av网| 欧美区一区二区三区| 美女视频黄久久| 久久久国产精华| 99精品1区2区| 亚洲h在线观看| 2020国产精品久久精品美国| av一区二区三区| 午夜激情综合网| 免费观看日韩av| 国产欧美日本一区二区三区| 91精品福利视频| 久久99热这里只有精品| 国产精品第五页| 制服丝袜一区二区三区|