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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? bootp.c

?? 移植到2410開發(fā)板上的源代碼
?? C
字號(hào):
/* * arch/alpha/boot/bootp.c * * Copyright (C) 1997 Jay Estabrook * * This file is used for creating a bootp file for the Linux/AXP kernel * * based significantly on the arch/alpha/boot/main.c of Linus Torvalds */#include <linux/kernel.h>#include <linux/string.h>#include <linux/version.h>#include <linux/mm.h>#include <asm/system.h>#include <asm/console.h>#include <asm/hwrpb.h>#include <asm/pgtable.h>#include <asm/io.h>#include <stdarg.h>#include "ksize.h"extern unsigned long switch_to_osf_pal(unsigned long nr,	struct pcb_struct * pcb_va, struct pcb_struct * pcb_pa,	unsigned long *vptb);struct hwrpb_struct *hwrpb = INIT_HWRPB;static struct pcb_struct pcb_va[1];/* * Find a physical address of a virtual object.. * * This is easy using the virtual page table address. */static inline void *find_pa(unsigned long *vptb, void *ptr){	unsigned long address = (unsigned long) ptr;	unsigned long result;	result = vptb[address >> 13];	result >>= 32;	result <<= 13;	result |= address & 0x1fff;	return (void *) result;}	/* * This function moves into OSF/1 pal-code, and has a temporary * PCB for that. The kernel proper should replace this PCB with * the real one as soon as possible. * * The page table muckery in here depends on the fact that the boot * code has the L1 page table identity-map itself in the second PTE * in the L1 page table. Thus the L1-page is virtually addressable * itself (through three levels) at virtual address 0x200802000. */#define VPTB	((unsigned long *) 0x200000000)#define L1	((unsigned long *) 0x200802000)voidpal_init(void){	unsigned long i, rev;	struct percpu_struct * percpu;	struct pcb_struct * pcb_pa;	/* Create the dummy PCB.  */	pcb_va->ksp = 0;	pcb_va->usp = 0;	pcb_va->ptbr = L1[1] >> 32;	pcb_va->asn = 0;	pcb_va->pcc = 0;	pcb_va->unique = 0;	pcb_va->flags = 1;	pcb_va->res1 = 0;	pcb_va->res2 = 0;	pcb_pa = find_pa(VPTB, pcb_va);	/*	 * a0 = 2 (OSF)	 * a1 = return address, but we give the asm the vaddr of the PCB	 * a2 = physical addr of PCB	 * a3 = new virtual page table pointer	 * a4 = KSP (but the asm sets it)	 */	srm_printk("Switching to OSF PAL-code .. ");	i = switch_to_osf_pal(2, pcb_va, pcb_pa, VPTB);	if (i) {		srm_printk("failed, code %ld\n", i);		__halt();	}	percpu = (struct percpu_struct *)		(INIT_HWRPB->processor_offset + (unsigned long) INIT_HWRPB);	rev = percpu->pal_revision = percpu->palcode_avail[2];	srm_printk("Ok (rev %lx)\n", rev);	tbia(); /* do it directly in case we are SMP */}static inline voidload(unsigned long dst, unsigned long src, unsigned long count){	memcpy((void *)dst, (void *)src, count);}/* * Start the kernel. */static inline voidrunkernel(void){	__asm__ __volatile__(		"bis %1,%1,$30\n\t"		"bis %0,%0,$27\n\t"		"jmp ($27)"		: /* no outputs: it doesn't even return */		: "r" (START_ADDR),		  "r" (PAGE_SIZE + INIT_STACK));}extern char _end;#define KERNEL_ORIGIN \	((((unsigned long)&_end) + 511) & ~511)voidstart_kernel(void){	/*	 * Note that this crufty stuff with static and envval	 * and envbuf is because:	 *	 * 1. Frequently, the stack is short, and we don't want to overrun;	 * 2. Frequently the stack is where we are going to copy the kernel to;	 * 3. A certain SRM console required the GET_ENV output to stack.	 *    ??? A comment in the aboot sources indicates that the GET_ENV	 *    destination must be quadword aligned.  Might this explain the	 *    behaviour, rather than requiring output to the stack, which	 *    seems rather far-fetched.	 */	static long nbytes;	static char envval[256] __attribute__((aligned(8)));#ifdef INITRD_IMAGE_SIZE	static unsigned long initrd_start;#endif	srm_printk("Linux/AXP bootp loader for Linux " UTS_RELEASE "\n");	if (INIT_HWRPB->pagesize != 8192) {		srm_printk("Expected 8kB pages, got %ldkB\n",		           INIT_HWRPB->pagesize >> 10);		return;	}	if (INIT_HWRPB->vptb != (unsigned long) VPTB) {		srm_printk("Expected vptb at %p, got %p\n",			   VPTB, (void *)INIT_HWRPB->vptb);		return;	}	pal_init();#ifdef INITRD_IMAGE_SIZE	/* The initrd must be page-aligned.  See below for the 	   cause of the magic number 5.  */	initrd_start = ((START_ADDR + 5*KERNEL_SIZE) | (PAGE_SIZE-1)) + 1;	srm_printk("Initrd positioned at %#lx\n", initrd_start);#endif	nbytes = callback_getenv(ENV_BOOTED_OSFLAGS, envval, sizeof(envval));	if (nbytes < 0 || nbytes >= sizeof(envval)) {		nbytes = 0;	}	envval[nbytes] = '\0';	srm_printk("Loading the kernel...'%s'\n", envval);	/* NOTE: *no* callbacks or printouts from here on out!!! */	/* This is a hack, as some consoles seem to get virtual 20000000 (ie	 * where the SRM console puts the kernel bootp image) memory	 * overlapping physical memory where the kernel wants to be put,	 * which causes real problems when attempting to copy the former to	 * the latter... :-(	 *	 * So, we first move the kernel virtual-to-physical way above where	 * we physically want the kernel to end up, then copy it from there	 * to its final resting place... ;-}	 *	 * Sigh...  */#ifdef INITRD_IMAGE_SIZE	load(initrd_start, KERNEL_ORIGIN+KERNEL_SIZE, INITRD_IMAGE_SIZE);#endif        load(START_ADDR+(4*KERNEL_SIZE), KERNEL_ORIGIN, KERNEL_SIZE);        load(START_ADDR, START_ADDR+(4*KERNEL_SIZE), KERNEL_SIZE);	memset((char*)ZERO_PGE, 0, PAGE_SIZE);	strcpy((char*)ZERO_PGE, envval);#ifdef INITRD_IMAGE_SIZE	((long *)(ZERO_PGE+256))[0] = initrd_start;	((long *)(ZERO_PGE+256))[1] = INITRD_IMAGE_SIZE;#endif	runkernel();}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人av小说网| 欧美日韩欧美一区二区| 亚洲国产一区在线观看| 2021久久国产精品不只是精品| 成年人国产精品| 免费精品99久久国产综合精品| 亚洲欧美在线高清| 精品国产乱码久久久久久闺蜜| 在线免费观看不卡av| 丰满少妇在线播放bd日韩电影| 偷窥国产亚洲免费视频| 中文字幕一区二区三区色视频| 精品成人一区二区三区| 欧美日韩国产大片| 色婷婷av一区二区三区大白胸| 国产中文字幕精品| 日本视频免费一区| 午夜精品123| 一区二区在线观看视频| 欧美经典三级视频一区二区三区| 日韩视频在线一区二区| 欧美日韩免费观看一区二区三区| 成人性生交大片免费看在线播放| 久久av资源站| 日本va欧美va欧美va精品| 亚洲成人精品一区| 一区二区三区免费看视频| 中文字幕在线不卡| 欧美国产禁国产网站cc| 久久综合av免费| 精品日韩欧美一区二区| 欧美成人一区二区三区片免费| 9191精品国产综合久久久久久 | 91免费精品国自产拍在线不卡| 久久99精品久久久| 麻豆精品一区二区综合av| 美女视频网站黄色亚洲| 麻豆精品视频在线观看免费| 婷婷国产v国产偷v亚洲高清| 亚洲高清久久久| 性久久久久久久| 日韩高清一级片| 日本不卡视频在线| 久久av资源网| 国产69精品久久777的优势| 国产激情视频一区二区在线观看| 九九精品视频在线看| 国产精品夜夜爽| 国产成人福利片| av高清久久久| 色呦呦网站一区| 欧美日本在线看| 欧美一级片免费看| 久久精品一二三| 国产精品国产三级国产| 伊人婷婷欧美激情| 天天色图综合网| 麻豆精品视频在线观看免费| 国产专区综合网| av电影在线观看一区| 91免费视频观看| 欧美夫妻性生活| 久久亚洲综合av| 国产精品水嫩水嫩| 亚洲线精品一区二区三区 | 精品亚洲porn| 国产在线不卡一区| 97久久精品人人做人人爽| 在线观看日韩电影| 欧美mv和日韩mv的网站| 国产精品久久久久aaaa樱花| 午夜精品在线看| 九九**精品视频免费播放| av成人免费在线| 91精品在线观看入口| 日本一区二区三区国色天香| 亚洲一区二区在线观看视频| 韩国av一区二区| 99久久精品国产毛片| 欧美丰满嫩嫩电影| 中文字幕成人网| 亚洲成人tv网| 成人一级黄色片| 69久久夜色精品国产69蝌蚪网| 久久精品夜色噜噜亚洲aⅴ| 亚洲精品国产成人久久av盗摄| 精品在线免费观看| 色综合一个色综合| 精品国产不卡一区二区三区| 一区二区三区在线看| 九九精品视频在线看| 在线观看区一区二| 久久久亚洲欧洲日产国码αv| 亚洲精品国久久99热| 国产一区二区三区免费看| 色成年激情久久综合| 久久免费视频一区| 亚洲不卡av一区二区三区| 丰满岳乱妇一区二区三区| 日韩欧美一级二级三级| 亚洲女爱视频在线| 国产成人在线观看| 欧美一区二区日韩| 一区二区三区日韩欧美精品| 国产精品77777| 欧美一级日韩不卡播放免费| 亚洲精品欧美专区| 成人av网在线| 久久亚洲免费视频| 日韩va欧美va亚洲va久久| 色婷婷综合久久久久中文 | 国产精品正在播放| 宅男在线国产精品| 一区二区三区四区在线| 顶级嫩模精品视频在线看| 欧美电影免费观看高清完整版在 | 视频一区二区欧美| 一本一道久久a久久精品综合蜜臀| 久久精品人人做| 精品系列免费在线观看| 日韩一二三区视频| 午夜精品成人在线视频| 欧美羞羞免费网站| 亚洲精品视频免费观看| 91视频你懂的| 1024成人网色www| 成人免费精品视频| 国产精品色一区二区三区| 国产精品亚洲第一区在线暖暖韩国| 欧美大片国产精品| 老司机精品视频一区二区三区| 欧美一区二区三区爱爱| 视频一区视频二区中文| 51久久夜色精品国产麻豆| 午夜影院久久久| 欧美一区二区三区婷婷月色| 日韩av一二三| 日韩精品一区二区三区视频播放| 天天综合天天做天天综合| 欧美日韩国产电影| 午夜日韩在线电影| 日韩一区二区不卡| 国产美女在线精品| 国产精品日韩精品欧美在线| 丁香五精品蜜臀久久久久99网站| 欧美国产一区在线| 99久久99久久精品国产片果冻 | 欧美v日韩v国产v| 国产制服丝袜一区| 欧美精彩视频一区二区三区| 97久久精品人人爽人人爽蜜臀| 日韩理论片网站| 91免费版在线看| 亚洲国产精品久久久久秋霞影院 | 中文字幕中文字幕一区| 99re免费视频精品全部| 亚洲午夜国产一区99re久久| 91麻豆精品国产自产在线观看一区| 看电影不卡的网站| 中文字幕精品一区二区精品绿巨人| 91美女片黄在线| 日韩av成人高清| 欧美韩日一区二区三区四区| 色噜噜久久综合| 免费高清在线一区| 中文字幕巨乱亚洲| 欧美日韩精品高清| 国产一区二区三区在线观看免费 | 成人精品视频一区| 亚洲男帅同性gay1069| 欧美精品乱码久久久久久| 国产在线视频一区二区三区| 国产精品人人做人人爽人人添 | 国产人伦精品一区二区| 99久久婷婷国产综合精品| 日韩中文字幕av电影| 国产亚洲精品中文字幕| 色久综合一二码| 精品一区二区在线免费观看| 亚洲免费毛片网站| 欧美成人精品1314www| av午夜一区麻豆| 男人的天堂久久精品| 国产精品电影一区二区三区| 5566中文字幕一区二区电影| 成人综合婷婷国产精品久久蜜臀| 天天色综合天天| 中文字幕一区二区三区在线观看| 日韩网站在线看片你懂的| 91在线国产福利| 国产精品一线二线三线精华| 亚洲第一在线综合网站| 欧美国产国产综合| 日韩欧美高清在线| 一本一道综合狠狠老| 国内一区二区视频| 丝袜亚洲精品中文字幕一区| 国产精品初高中害羞小美女文| 日韩美女在线视频| 欧美日本韩国一区二区三区视频 |