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

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

?? mpparse.c

?? 一個2.4.21版本的嵌入式linux內核
?? C
?? 第 1 頁 / 共 2 頁
字號:
	return num_processors;}static int __init ELCR_trigger(unsigned int irq){	unsigned int port;	port = 0x4d0 + (irq >> 3);	return (inb(port) >> (irq & 7)) & 1;}static void __init construct_default_ioirq_mptable(int mpc_default_type){	struct mpc_config_intsrc intsrc;	int i;	int ELCR_fallback = 0;	intsrc.mpc_type = MP_INTSRC;	intsrc.mpc_irqflag = 0;			/* conforming */	intsrc.mpc_srcbus = 0;	intsrc.mpc_dstapic = mp_ioapics[0].mpc_apicid;	intsrc.mpc_irqtype = mp_INT;	/*	 *  If true, we have an ISA/PCI system with no IRQ entries	 *  in the MP table. To prevent the PCI interrupts from being set up	 *  incorrectly, we try to use the ELCR. The sanity check to see if	 *  there is good ELCR data is very simple - IRQ0, 1, 2 and 13 can	 *  never be level sensitive, so we simply see if the ELCR agrees.	 *  If it does, we assume it's valid.	 */	if (mpc_default_type == 5) {		printk("ISA/PCI bus type with no IRQ information... falling back to ELCR\n");		if (ELCR_trigger(0) || ELCR_trigger(1) || ELCR_trigger(2) || ELCR_trigger(13))			printk("ELCR contains invalid data... not using ELCR\n");		else {			printk("Using ELCR to identify PCI interrupts\n");			ELCR_fallback = 1;		}	}	for (i = 0; i < 16; i++) {		switch (mpc_default_type) {		case 2:			if (i == 0 || i == 13)				continue;	/* IRQ0 & IRQ13 not connected */			/* fall through */		default:			if (i == 2)				continue;	/* IRQ2 is never connected */		}		if (ELCR_fallback) {			/*			 *  If the ELCR indicates a level-sensitive interrupt, we			 *  copy that information over to the MP table in the			 *  irqflag field (level sensitive, active high polarity).			 */			if (ELCR_trigger(i))				intsrc.mpc_irqflag = 13;			else				intsrc.mpc_irqflag = 0;		}		intsrc.mpc_srcbusirq = i;		intsrc.mpc_dstirq = i ? i : 2;		/* IRQ0 to INTIN2 */		MP_intsrc_info(&intsrc);	}	intsrc.mpc_irqtype = mp_ExtINT;	intsrc.mpc_srcbusirq = 0;	intsrc.mpc_dstirq = 0;				/* 8259A to INTIN0 */	MP_intsrc_info(&intsrc);}static inline void __init construct_default_ISA_mptable(int mpc_default_type){	struct mpc_config_processor processor;	struct mpc_config_bus bus;	struct mpc_config_ioapic ioapic;	struct mpc_config_lintsrc lintsrc;	int linttypes[2] = { mp_ExtINT, mp_NMI };	int i;	/*	 * local APIC has default address	 */	mp_lapic_addr = APIC_DEFAULT_PHYS_BASE;	/*	 * 2 CPUs, numbered 0 & 1.	 */	processor.mpc_type = MP_PROCESSOR;	/* Either an integrated APIC or a discrete 82489DX. */	processor.mpc_apicver = mpc_default_type > 4 ? 0x10 : 0x01;	processor.mpc_cpuflag = CPU_ENABLED;	processor.mpc_cpufeature = (boot_cpu_data.x86 << 8) |				   (boot_cpu_data.x86_model << 4) |				   boot_cpu_data.x86_mask;	processor.mpc_featureflag = boot_cpu_data.x86_capability[0];	processor.mpc_reserved[0] = 0;	processor.mpc_reserved[1] = 0;	for (i = 0; i < 2; i++) {		processor.mpc_apicid = i;		MP_processor_info(&processor);	}	bus.mpc_type = MP_BUS;	bus.mpc_busid = 0;	switch (mpc_default_type) {		default:			printk("???\nUnknown standard configuration %d\n",				mpc_default_type);			/* fall through */		case 1:		case 5:			memcpy(bus.mpc_bustype, "ISA   ", 6);			break;		case 2:		case 6:		case 3:			memcpy(bus.mpc_bustype, "EISA  ", 6);			break;		case 4:		case 7:			memcpy(bus.mpc_bustype, "MCA   ", 6);	}	MP_bus_info(&bus);	if (mpc_default_type > 4) {		bus.mpc_busid = 1;		memcpy(bus.mpc_bustype, "PCI   ", 6);		MP_bus_info(&bus);	}	ioapic.mpc_type = MP_IOAPIC;	ioapic.mpc_apicid = 2;	ioapic.mpc_apicver = mpc_default_type > 4 ? 0x10 : 0x01;	ioapic.mpc_flags = MPC_APIC_USABLE;	ioapic.mpc_apicaddr = 0xFEC00000;	MP_ioapic_info(&ioapic);	/*	 * We set up most of the low 16 IO-APIC pins according to MPS rules.	 */	construct_default_ioirq_mptable(mpc_default_type);	lintsrc.mpc_type = MP_LINTSRC;	lintsrc.mpc_irqflag = 0;		/* conforming */	lintsrc.mpc_srcbusid = 0;	lintsrc.mpc_srcbusirq = 0;	lintsrc.mpc_destapic = MP_APIC_ALL;	for (i = 0; i < 2; i++) {		lintsrc.mpc_irqtype = linttypes[i];		lintsrc.mpc_destapiclint = i;		MP_lintsrc_info(&lintsrc);	}}static struct intel_mp_floating *mpf_found;/* * Scan the memory blocks for an SMP configuration block. */void __init get_smp_config (void){	struct intel_mp_floating *mpf = mpf_found;	printk("Intel MultiProcessor Specification v1.%d\n", mpf->mpf_specification);	if (mpf->mpf_feature2 & (1<<7)) {		printk("    IMCR and PIC compatibility mode.\n");		pic_mode = 1;	} else {		printk("    Virtual Wire compatibility mode.\n");		pic_mode = 0;	}	/*	 * Now see if we need to read further.	 */	if (mpf->mpf_feature1 != 0) {		printk("Default MP configuration #%d\n", mpf->mpf_feature1);		construct_default_ISA_mptable(mpf->mpf_feature1);	} else if (mpf->mpf_physptr) {		/*		 * Read the physical hardware table.  Anything here will		 * override the defaults.		 */		if (!smp_read_mpc(__va(mpf->mpf_physptr))) {			smp_found_config = 0;			printk(KERN_ERR "BIOS bug, MP table errors detected!...\n");			printk(KERN_ERR "... disabling SMP support. (tell your hw vendor)\n");			return;		}		/*		 * If there are no explicit MP IRQ entries, then we are		 * broken.  We set up most of the low 16 IO-APIC pins to		 * ISA defaults and hope it will work.		 */		if (!mp_irq_entries) {			struct mpc_config_bus bus;			printk("BIOS bug, no explicit IRQ entries, using default mptable. (tell your hw vendor)\n");			bus.mpc_type = MP_BUS;			bus.mpc_busid = 0;			memcpy(bus.mpc_bustype, "ISA   ", 6);			MP_bus_info(&bus);			construct_default_ioirq_mptable(0);		}	} else		BUG();	printk("Processors: %d\n", num_processors);	/*	 * Only use the first configuration found.	 */}static int __init smp_scan_config (unsigned long base, unsigned long length){	unsigned int *bp = phys_to_virt(base);	struct intel_mp_floating *mpf;	printk("Scan SMP from %p for %ld bytes.\n", bp,length);	if (sizeof(*mpf) != 16)		printk("Error: MPF size\n");	while (length > 0) {		mpf = (struct intel_mp_floating *)bp;		if ((*bp == SMP_MAGIC_IDENT) &&			(mpf->mpf_length == 1) &&			!mpf_checksum((unsigned char *)bp, 16) &&			((mpf->mpf_specification == 1)				|| (mpf->mpf_specification == 4)) ) {			smp_found_config = 1;			printk(KERN_INFO "found SMP MP-table at %016lx\n",						virt_to_phys(mpf));			reserve_bootmem_generic(virt_to_phys(mpf), PAGE_SIZE); 			if (mpf->mpf_physptr)				reserve_bootmem_generic(mpf->mpf_physptr, PAGE_SIZE); 			mpf_found = mpf;			return 1;		}		bp += 4;		length -= 16;	}	return 0;}void __init find_intel_smp (void){	unsigned long address;	/*	 * FIXME: Linux assumes you have 640K of base ram..	 * this continues the error...	 *	 * 1) Scan the bottom 1K for a signature	 * 2) Scan the top 1K of base RAM	 * 3) Scan the 64K of bios	 */	if (smp_scan_config(0x0,0x400) ||		smp_scan_config(639*0x400,0x400) ||			smp_scan_config(0xF0000,0x10000))		return;		printk("ok\n");			/*	 * If it is an SMP machine we should know now, unless the	 * configuration is in an EISA/MCA bus machine with an	 * extended bios data area.	 *	 * there is a real-mode segmented pointer pointing to the	 * 4K EBDA area at 0x40E, calculate and scan it here.	 *	 * NOTE! There are Linux loaders that will corrupt the EBDA	 * area, and as such this kind of SMP config may be less	 * trustworthy, simply because the SMP table may have been	 * stomped on during early boot. These loaders are buggy and	 * should be fixed.	 *	 * MP1.4 SPEC states to only scan first 1K of 4K EBDA.	 */	address = *(unsigned short *)phys_to_virt(0x40E);	address <<= 4;	smp_scan_config(address, 0x400);	if (smp_found_config)		printk(KERN_WARNING "WARNING: MP table in the EBDA can be UNSAFE, contact linux-smp@vger.kernel.org if you experience SMP problems!\n");}/* * - Intel MP Configuration Table */void __init find_smp_config (void){#ifdef CONFIG_X86_LOCAL_APIC	find_intel_smp();#endif}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品免费专区| 蜜桃视频在线观看一区二区| 久久伊人中文字幕| 欧美日韩1234| 色一区在线观看| 国产 欧美在线| 精品中文字幕一区二区小辣椒| 亚洲一二三四区| 国产精品电影一区二区| 亚洲动漫第一页| 亚洲一区二区三区免费视频| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 在线日韩一区二区| 91香蕉视频污| a在线欧美一区| 白白色亚洲国产精品| 成人激情校园春色| 粗大黑人巨茎大战欧美成人| 日本伦理一区二区| 成人自拍视频在线| 成人丝袜高跟foot| yourporn久久国产精品| jlzzjlzz欧美大全| 色综合久久久久久久久| 日本高清成人免费播放| 91黄视频在线观看| 欧美在线制服丝袜| 欧美日韩色综合| 欧美日韩国产不卡| 欧美一区三区四区| 欧美成人精品高清在线播放| 2023国产一二三区日本精品2022| 精品国产免费人成电影在线观看四季 | 欧美草草影院在线视频| 欧美sm美女调教| 久久久99精品免费观看| 国产精品卡一卡二卡三| 亚洲黄色av一区| 一区二区三区精品| 亚州成人在线电影| 色嗨嗨av一区二区三区| 日韩一区二区精品| 久久久久久电影| 亚洲欧洲av在线| 亚洲成人在线免费| 国产综合色产在线精品| eeuss影院一区二区三区 | 2014亚洲片线观看视频免费| 国产日韩视频一区二区三区| 中文字幕在线一区| 欧美极品另类videosde| 综合自拍亚洲综合图不卡区| 一区二区欧美视频| 中文字幕一区二区不卡 | 男女性色大片免费观看一区二区 | 成人综合婷婷国产精品久久蜜臀| 91色九色蝌蚪| 欧美精品一级二级三级| 国产午夜精品在线观看| 亚洲综合一区二区精品导航| 久久se精品一区精品二区| zzijzzij亚洲日本少妇熟睡| 91精品国产入口| 中文字幕乱码日本亚洲一区二区| 亚洲成人自拍一区| 日韩午夜av电影| 国产精品每日更新| 日韩制服丝袜先锋影音| 成人国产亚洲欧美成人综合网| 欧美性色欧美a在线播放| 国产视频不卡一区| 婷婷夜色潮精品综合在线| 国产毛片精品国产一区二区三区| 欧美在线播放高清精品| 久久亚洲春色中文字幕久久久| 依依成人精品视频| 国内精品久久久久影院色| 色婷婷av一区二区三区之一色屋| 日韩精品一区二区三区在线观看| 亚洲三级视频在线观看| 久久99在线观看| 欧美日韩午夜影院| 国产精品色在线| 麻豆精品久久久| 欧美性做爰猛烈叫床潮| 国产精品免费av| 久久精品国产秦先生| 欧美在线观看18| 国产精品成人免费精品自在线观看 | av亚洲精华国产精华| 精品国产髙清在线看国产毛片| 亚洲综合激情另类小说区| 成人丝袜18视频在线观看| 日韩视频免费观看高清在线视频| 一区二区三区免费在线观看| 成人性视频免费网站| 欧美zozozo| 日韩不卡一区二区| 欧美性一二三区| 亚洲丝袜另类动漫二区| 国产一区二区三区电影在线观看| 99免费精品视频| 欧美成人精品高清在线播放| 视频在线观看一区二区三区| 在线观看国产日韩| 一二三区精品视频| 91免费视频大全| 国产精品人成在线观看免费| 国产伦精品一区二区三区免费| 日韩午夜中文字幕| 日韩二区在线观看| 欧美高清你懂得| 午夜精品久久久久久久久久久| 在线观看视频欧美| 一区二区三区不卡在线观看| 91日韩一区二区三区| 亚洲欧美偷拍另类a∨色屁股| 成人污视频在线观看| 免费高清在线一区| 日韩视频免费观看高清完整版| 日韩不卡一区二区三区| 制服丝袜亚洲色图| 免费在线看成人av| 精品久久一区二区三区| 久久99精品一区二区三区| 日韩免费高清av| 精彩视频一区二区| 久久久久九九视频| 国产99久久久精品| 国产精品久久99| 91在线精品秘密一区二区| 亚洲日本乱码在线观看| 91久久精品午夜一区二区| 一区二区三区精品| 欧美日本在线播放| 蜜臀99久久精品久久久久久软件| 精品精品欲导航| 福利电影一区二区| 一区二区中文字幕在线| 一本色道**综合亚洲精品蜜桃冫| 亚洲猫色日本管| 欧美日韩国产一二三| 蜜臀av一区二区在线免费观看 | 91麻豆精品视频| 亚洲国产精品一区二区www在线| 欧美日韩精品系列| 麻豆专区一区二区三区四区五区| 久久久久久久久97黄色工厂| 波多野结衣中文一区| 国产精品成人免费在线| 91亚洲精品久久久蜜桃| 亚洲18女电影在线观看| 欧美videos大乳护士334| 麻豆成人在线观看| 国产精品女同互慰在线看 | 欧美一区二区视频在线观看2020 | 国产成人啪免费观看软件| 亚洲欧洲日产国码二区| 欧美三级日韩三级国产三级| 捆绑紧缚一区二区三区视频| 国产精品三级在线观看| 欧美无砖专区一中文字| 精品一区二区在线免费观看| 日本一区二区三区四区在线视频| 色成年激情久久综合| 久久成人免费电影| 亚洲欧美视频一区| 日韩美女一区二区三区| jizz一区二区| 免费在线观看一区二区三区| 日韩免费看的电影| 99精品久久久久久| 免费成人深夜小野草| 欧美国产欧美亚州国产日韩mv天天看完整| 91网站最新地址| 性做久久久久久久免费看| 久久影院视频免费| 欧美中文字幕亚洲一区二区va在线| 精品在线你懂的| 亚洲激情男女视频| 国产亚洲精久久久久久| 一区二区三区四区高清精品免费观看 | 日韩一区精品视频| 亚洲女同女同女同女同女同69| 国产亚洲成aⅴ人片在线观看 | 正在播放一区二区| 欧洲色大大久久| 9人人澡人人爽人人精品| 国产一区二区成人久久免费影院 | av男人天堂一区| 成人在线视频一区| 国产老肥熟一区二区三区| 免费看黄色91| 日本成人中文字幕在线视频| 亚洲国产欧美在线人成| 一区二区三区四区不卡在线| 亚洲人成网站影音先锋播放| 国产精品美女一区二区在线观看| 久久久久亚洲综合| 久久人人爽人人爽|