hub.h
来自「优龙2410linux2.6.8内核源代码」· C头文件 代码 · 共 36 行
H
36 行
#ifndef __ASM_SN_HUB_H#define __ASM_SN_HUB_H#include <linux/types.h>#include <linux/cpumask.h>#include <asm/sn/types.h>#include <asm/sn/io.h>#include <asm/sn/klkernvars.h>#include <asm/xtalk/xtalk.h>#define LEVELS_PER_SLICE 128struct slice_data { unsigned long irq_alloc_mask[2]; unsigned long irq_enable_mask[2]; int level_to_irq[LEVELS_PER_SLICE];};struct hub_data { kern_vars_t kern_vars; DECLARE_BITMAP (h_bigwin_used, HUB_NUM_BIG_WINDOW); cpumask_t h_cpus; unsigned long slice_map; struct slice_data slice[2];};extern struct hub_data *hub_data[];#define HUB_DATA(n) (hub_data[(n)])/* ip27-hubio.c */extern unsigned long hub_pio_map(cnodeid_t cnode, xwidgetnum_t widget, unsigned long xtalk_addr, size_t size);extern void hub_pio_init(cnodeid_t cnode);#endif /* __ASM_SN_HUB_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?