arch_smp.c

来自「newos is new operation system」· C语言 代码 · 共 31 行

C
31
字号
/* ** Copyright 2001-2004, Travis Geiselbrecht. All rights reserved.** Distributed under the terms of the NewOS License.*/#include <boot/stage2.h>#include <kernel/debug.h>#include <kernel/arch/smp.h>/* current PPC code doesn't support SMP, so this module is largely empty */int arch_smp_init(kernel_args *ka){	return 0;}int arch_smp_init_percpu(kernel_args *ka, int cpu_num){	return 0;}void arch_smp_send_ici(int target_cpu){	panic("called arch_smp_send_ici!\n");}void arch_smp_send_broadcast_ici(){	panic("called arch_smp_send_broadcast_ici\n");}

⌨️ 快捷键说明

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