mach_ipi.h
来自「鼎力推荐!本程序是基于嵌入式LUNUX系统开发的源程序代码」· C头文件 代码 · 共 31 行
H
31 行
#ifndef __ASM_MACH_IPI_H#define __ASM_MACH_IPI_Hvoid send_IPI_mask_bitmask(cpumask_t mask, int vector);void __send_IPI_shortcut(unsigned int shortcut, int vector);static inline void send_IPI_mask(cpumask_t mask, int vector){ send_IPI_mask_bitmask(mask, vector);}static inline void send_IPI_allbutself(int vector){ /* * if there are no other CPUs in the system then we get an APIC send * error if we try to broadcast, thus avoid sending IPIs in this case. */ if (!(num_online_cpus() > 1)) return; __send_IPI_shortcut(APIC_DEST_ALLBUT, vector); return;}static inline void send_IPI_all(int vector){ __send_IPI_shortcut(APIC_DEST_ALLINC, vector);}#endif /* __ASM_MACH_IPI_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?