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

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

?? bootp.c

?? microwindows移植到S3C44B0的源碼
?? C
字號:
/* * 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
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产做a爰片久久毛片| 蜜桃视频在线一区| 久久久久国产精品麻豆ai换脸| 欧美日韩一二区| 色噜噜夜夜夜综合网| 99久久99久久精品国产片果冻| 国产一区二区三区黄视频| 狠狠色综合播放一区二区| 精品一二三四区| 国产精品99精品久久免费| 久久超碰97人人做人人爱| 美女爽到高潮91| 精品在线播放午夜| 国产精品综合在线视频| 国产精品88av| 一本高清dvd不卡在线观看| 91麻豆视频网站| 亚洲精品中文在线观看| 337p粉嫩大胆噜噜噜噜噜91av| 欧美一区二区三区影视| 韩日精品视频一区| 国产一区二区三区四| 美女性感视频久久| 91麻豆蜜桃一区二区三区| 天天免费综合色| 国产麻豆视频精品| 欧美一区二区三区四区在线观看| 久久福利资源站| 粉嫩一区二区三区性色av| 一本大道av一区二区在线播放| 91麻豆国产福利在线观看| 欧美日韩在线亚洲一区蜜芽| 欧美变态口味重另类| 国产精品午夜免费| 亚洲最新视频在线观看| 免费成人美女在线观看| 不卡的电影网站| 6080亚洲精品一区二区| 国产精品系列在线| 香蕉久久一区二区不卡无毒影院| 美女视频黄频大全不卡视频在线播放| 国产成人在线免费| 欧美亚洲日本国产| 国产精品高潮久久久久无| 亚洲国产视频直播| 国产成人av影院| 欧美精品99久久久**| 欧美国产日产图区| 日本欧美在线看| 成人免费高清视频| 欧美撒尿777hd撒尿| 国产欧美日韩三区| 美女精品自拍一二三四| 91丨porny丨国产| 久久久亚洲精品一区二区三区| 亚洲激情图片小说视频| 成人久久18免费网站麻豆| 日韩视频在线一区二区| 亚洲女同ⅹxx女同tv| 麻豆成人久久精品二区三区小说| 色综合一个色综合| 中文字幕精品综合| 国产精品羞羞答答xxdd| 91麻豆精品国产自产在线| 国产精品美女久久久久久| 九九精品一区二区| 欧美色手机在线观看| 亚洲免费观看高清完整版在线观看熊| 国产成人精品免费网站| 久久综合久久综合久久| 青青青爽久久午夜综合久久午夜| 欧美日韩一级片在线观看| 亚洲综合清纯丝袜自拍| 成人激情av网| 中文字幕欧美一区| www.亚洲免费av| 中文字幕亚洲一区二区av在线 | 婷婷一区二区三区| 欧美艳星brazzers| 亚洲一区二区在线免费观看视频 | 欧美亚洲国产一卡| 一区二区在线看| 91久久人澡人人添人人爽欧美| 亚洲视频在线观看三级| 色综合久久综合网| 一区二区三区久久| 在线日韩av片| 免费日韩伦理电影| 91精品国产色综合久久不卡蜜臀| 肉丝袜脚交视频一区二区| 日韩视频一区在线观看| 狠狠v欧美v日韩v亚洲ⅴ| 久久久www成人免费无遮挡大片| 国产一区二区按摩在线观看| 国产欧美视频在线观看| 91在线视频播放地址| 亚洲国产一区二区在线播放| 51午夜精品国产| 国产成人av影院| 免费在线观看视频一区| 欧美成人高清电影在线| 高清不卡在线观看av| 亚洲人成精品久久久久久| 91精品国产综合久久久久久久久久| 久久99国产精品成人| 久久久久久久免费视频了| 99国产欧美另类久久久精品| 偷窥国产亚洲免费视频| 久久精品一区二区三区不卡| 91碰在线视频| 国产一区二区三区av电影| 国产精品成人免费| 91精品国产一区二区三区蜜臀 | 欧美激情一区二区三区四区 | 久久电影网站中文字幕| 国产精品美女久久久久久| 欧美精品乱人伦久久久久久| 粉嫩高潮美女一区二区三区| 日韩1区2区日韩1区2区| 中文字幕一区二区三区四区不卡| 91精品欧美一区二区三区综合在 | 亚洲综合成人在线| 26uuu国产在线精品一区二区| caoporm超碰国产精品| 琪琪一区二区三区| 一区二区三区四区在线| www一区二区| 欧美一区三区四区| 91国偷自产一区二区开放时间| 国产一区视频导航| 亚洲国产精品v| 欧美日韩高清一区二区三区| 成人黄色综合网站| 韩国午夜理伦三级不卡影院| 视频一区二区三区中文字幕| 亚洲美女在线国产| 国产精品三级av在线播放| 日韩久久免费av| 欧美系列亚洲系列| 国产成a人亚洲| 国产精品一区二区黑丝| 一区二区三区电影在线播| 国产精品网站在线播放| 日韩欧美国产高清| 69成人精品免费视频| 欧美另类一区二区三区| 91激情在线视频| 色婷婷久久综合| 97精品视频在线观看自产线路二| 国产露脸91国语对白| 国产呦萝稀缺另类资源| 久久精品国产久精国产| 美腿丝袜亚洲综合| 美女免费视频一区二区| 国产又黄又大久久| 国产精品一区二区91| 精品一区二区免费视频| 国产一区二区中文字幕| 久久国产精品99久久人人澡| 国产精品一区免费在线观看| 国产一区二区伦理片| 国产高清视频一区| 不卡高清视频专区| 99精品视频在线观看免费| 99久久免费精品| 欧洲av在线精品| 91超碰这里只有精品国产| 欧美一级二级三级蜜桃| 欧美一区二区三区人| 久久久久99精品一区| 国产婷婷一区二区| 亚洲精品成a人| 免费人成在线不卡| 国产精品一区在线观看乱码| jizz一区二区| 91女人视频在线观看| 日韩一卡二卡三卡国产欧美| 2020日本不卡一区二区视频| 国产日韩欧美制服另类| 亚洲综合精品久久| 久久不见久久见免费视频1| 精品一区二区三区免费播放| 欧美激情一区二区三区四区| 日韩一卡二卡三卡四卡| 欧美性色综合网| 欧美www视频| 亚洲国产岛国毛片在线| 一二三四社区欧美黄| 日韩黄色免费网站| 国产不卡视频一区二区三区| 一本在线高清不卡dvd| 欧美一区二区三区四区久久| 久久精品男人的天堂| 亚洲午夜久久久久久久久电影院 | 成人一区二区三区中文字幕| 99综合电影在线视频| 欧美日韩视频第一区| 久久精品夜夜夜夜久久| 亚洲精品成a人| 国产揄拍国内精品对白|