apic.c

来自「一个Windows下的Linux专用虚拟机」· C语言 代码 · 共 39 行

C
39
字号
/* * This source code is a part of coLinux source package. * * Dan Aloni <da-x@colinux.org>, 2003 (c) * * The code is licensed under the GPL. See the COPYING file at * the root directory. * * This code is based on Linux 2.6.x arch/i386/kernel/apic.c. */ #include <colinux/common/common.h>#include "defs.h"#include "apic.h"co_rc_t co_manager_arch_init_apic(co_archdep_manager_t manager){		co_debug("arch APIC initialization");	if (!(manager->caps[0] & CO_ARCH_X86_FEATURE_APIC)) {		co_debug_error("no APIC support");		return CO_RC(ERROR);	}	co_debug("found APIC support");	/*	 * BIG TODO:	 *	 * Find if we really need to mangle with APIC in coLinux.	 * The SMP problem could be unrelated to APIC.	 */	return CO_RC(OK);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?