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

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

?? bootp.c

?? h內核
?? 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);extern void move_stack(unsigned long new_stack);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 %0,%0,$27\n\t"		"jmp ($27)"		: /* no outputs: it doesn't even return */		: "r" (START_ADDR));}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)));	static unsigned long initrd_start;	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();	/* 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) |			(PAGE_SIZE-1)) + 1;#ifdef INITRD_IMAGE_SIZE	srm_printk("Initrd positioned at %#lx\n", initrd_start);#endif	/*	 * Move the stack to a safe place to ensure it won't be	 * overwritten by kernel image.	 */	move_stack(initrd_start - PAGE_SIZE);	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();}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
最新日韩在线视频| 精品一区二区三区不卡| 三级一区在线视频先锋| 久久99久国产精品黄毛片色诱| 成人一二三区视频| 欧美日韩国产天堂| 日韩美女视频一区| 国产一区二区三区四区五区入口 | jvid福利写真一区二区三区| 欧美喷潮久久久xxxxx| 中文字幕精品三区| 狠狠色狠狠色合久久伊人| 欧美中文字幕一区二区三区 | 国产福利一区二区| 欧美电影一区二区| 亚洲乱码一区二区三区在线观看| 九一久久久久久| 欧美日韩一区二区不卡| 国产精品久久久久久久久久久免费看| 免费成人在线网站| 国产精品精品国产色婷婷| 久久综合狠狠综合久久激情 | 亚洲成人av福利| 色偷偷成人一区二区三区91| 欧美激情一区二区三区在线| 美女网站色91| 日韩一区二区免费视频| 日韩激情中文字幕| 欧美日韩精品一二三区| 亚洲成人动漫精品| 在线免费观看视频一区| 综合激情网...| 91蜜桃视频在线| 亚洲三级在线免费观看| 91麻豆成人久久精品二区三区| 国产女人18毛片水真多成人如厕| 久久黄色级2电影| 日韩一级成人av| 美女网站色91| 久久综合色8888| 久久99精品久久久久| 久久免费偷拍视频| 福利视频网站一区二区三区| 日本一区二区在线不卡| 成人黄色av网站在线| 国产精品国产三级国产| 91美女片黄在线观看| 亚洲精品综合在线| 欧美色图第一页| 奇米777欧美一区二区| 欧美成人vr18sexvr| 精品一区二区精品| 欧美激情一区二区三区蜜桃视频| jizzjizzjizz欧美| 亚洲一区二区黄色| 欧美一区二区三区在线视频| 日本午夜一区二区| 久久久蜜桃精品| 成人动漫在线一区| 一区av在线播放| 欧美日韩免费高清一区色橹橹| 偷拍日韩校园综合在线| 2023国产精品自拍| 成人精品视频一区二区三区| 亚洲欧美另类在线| 欧美电影免费观看高清完整版在| 国产在线国偷精品免费看| 欧美国产精品中文字幕| 欧美唯美清纯偷拍| 久久精品国产亚洲aⅴ| 国产精品久久久99| 3751色影院一区二区三区| 国产精品小仙女| 性欧美疯狂xxxxbbbb| 久久精品一区二区| 欧美日韩第一区日日骚| 国产成人激情av| 午夜日韩在线电影| ...av二区三区久久精品| 91精品国产高清一区二区三区 | 综合分类小说区另类春色亚洲小说欧美 | 色猫猫国产区一区二在线视频| 丝袜美腿一区二区三区| 国产精品无人区| 在线播放91灌醉迷j高跟美女| 国产乱色国产精品免费视频| 亚洲一区二区在线视频| 国产婷婷色一区二区三区| 欧美日韩黄色一区二区| 播五月开心婷婷综合| 免费观看91视频大全| 亚洲午夜精品在线| 亚洲视频一区二区在线| 久久久精品免费免费| 日韩一区二区三区免费观看| 在线亚洲一区观看| 一本一道波多野结衣一区二区| 国产一区亚洲一区| 日日夜夜免费精品| 亚洲国产三级在线| 亚洲人成影院在线观看| 中文欧美字幕免费| 久久久久久夜精品精品免费| 日韩欧美的一区| 7777精品伊人久久久大香线蕉的| 色婷婷精品大视频在线蜜桃视频| 成人福利电影精品一区二区在线观看 | 成a人片亚洲日本久久| 国产mv日韩mv欧美| 国产精品99久久久久久宅男| 麻豆久久久久久久| 亚洲视频精选在线| av不卡一区二区三区| 久久久99精品久久| 久久精品免视看| 欧美色电影在线| 中文字幕在线一区免费| 中文字幕第一区二区| 666欧美在线视频| 99久久99久久综合| 午夜精品久久久久久久久| 国产精品国产三级国产有无不卡 | 欧美精品乱人伦久久久久久| 国产成人鲁色资源国产91色综| 亚洲成人激情综合网| 亚洲国产精品久久人人爱蜜臀| 欧美大片日本大片免费观看| 91蜜桃视频在线| 成人视屏免费看| 91丝袜美腿高跟国产极品老师| 狠狠色狠狠色综合系列| 国产亚洲欧美激情| 亚洲精品在线观看视频| 日本一区二区视频在线| 精品日产卡一卡二卡麻豆| 欧美欧美欧美欧美| 欧美三级中文字幕| 精品欧美一区二区在线观看| 欧美性受xxxx黑人xyx性爽| 国产成人av资源| 国产精品一区二区三区乱码| 99久久国产综合精品女不卡| 激情综合色综合久久| 日本伊人色综合网| 日韩国产在线观看一区| 国产一区二区免费视频| 麻豆视频观看网址久久| 久久精品国产色蜜蜜麻豆| 另类欧美日韩国产在线| 成人av网站在线| av不卡免费在线观看| 99视频一区二区三区| 99久久精品免费看国产| 色呦呦日韩精品| 欧美日韩一区二区三区四区| 91影院在线观看| 欧美专区日韩专区| 欧美日韩国产电影| 制服丝袜av成人在线看| 国产精品第13页| |精品福利一区二区三区| 亚洲女同ⅹxx女同tv| 日韩美女天天操| 一区二区三区成人| 亚洲成在人线免费| 天天综合网天天综合色| 视频一区在线播放| 麻豆精品一区二区三区| 国产福利精品一区二区| 97久久精品人人做人人爽 | 在线观看亚洲一区| 久久这里只有精品视频网| 日本一区二区三区高清不卡| 国产精品久久久久久久久免费樱桃| 欧美日韩精品电影| 亚洲免费观看视频| 日韩电影在线免费看| 激情文学综合插| 欧美一二三四在线| 欧美国产精品一区二区| 一个色综合av| 亚洲综合精品久久| aaa亚洲精品| 欧美亚洲国产bt| 精品噜噜噜噜久久久久久久久试看| 亚洲最大成人网4388xx| 青青国产91久久久久久| 国产成人精品1024| 色狠狠一区二区三区香蕉| 中文字幕日本不卡| 三级亚洲高清视频| av福利精品导航| 中文字幕一区二区三区在线播放| 午夜视频在线观看一区二区| 国内精品自线一区二区三区视频| 全部av―极品视觉盛宴亚洲| 欧美电影一区二区三区| 亚洲欧美另类小说| 国产乱子伦视频一区二区三区 | 精品国产3级a|