4 #include <linux/types.h>
5 #include <linux/cpumask.h>
6 #include <asm/sn/types.h>
8 #include <asm/sn/klkernvars.h>
9 #include <asm/xtalk/xtalk.h>
11 #define LEVELS_PER_SLICE 128
14 unsigned long irq_alloc_mask
[2];
15 unsigned long irq_enable_mask
[2];
16 int level_to_irq
[LEVELS_PER_SLICE
];
20 kern_vars_t kern_vars
;
21 DECLARE_BITMAP (h_bigwin_used
, HUB_NUM_BIG_WINDOW
);
23 unsigned long slice_map
;
24 struct slice_data slice
[2];
27 extern struct hub_data
*hub_data
[];
28 #define HUB_DATA(n) (hub_data[(n)])
31 extern unsigned long hub_pio_map(cnodeid_t cnode
, xwidgetnum_t widget
,
32 unsigned long xtalk_addr
, size_t size
);
33 extern void hub_pio_init(cnodeid_t cnode
);
35 #endif /* __ASM_SN_HUB_H */