|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | uv_hub_info_s |
Macros | |
| #define | UV_MAX_NUMALINK_BLADES 16384 |
| #define | UV_MAX_SSI_BLADES 1 |
| #define | UV_MAX_NASID_VALUE (UV_MAX_NUMALINK_NODES * 2) |
| #define | uv_hub_info (&__get_cpu_var(__uv_hub_info)) |
| #define | uv_cpu_hub_info(cpu) (&per_cpu(__uv_hub_info, cpu)) |
| #define | UV_NASID_TO_PNODE(n) (((n) >> 1) & uv_hub_info->pnode_mask) |
| #define | UV_PNODE_TO_NASID(p) (((p) << 1) | uv_hub_info->gnode_upper) |
| #define | UV_LOCAL_MMR_BASE 0xf4000000UL |
| #define | UV_GLOBAL_MMR32_BASE 0xf8000000UL |
| #define | UV_GLOBAL_MMR64_BASE (uv_hub_info->global_mmr_base) |
| #define | UV_GLOBAL_MMR32_PNODE_SHIFT 15 |
| #define | UV_GLOBAL_MMR64_PNODE_SHIFT 26 |
| #define | UV_GLOBAL_MMR32_PNODE_BITS(p) ((p) << (UV_GLOBAL_MMR32_PNODE_SHIFT)) |
| #define | UV_GLOBAL_MMR64_PNODE_BITS(p) ((unsigned long)(p) << UV_GLOBAL_MMR64_PNODE_SHIFT) |
Functions | |
| DECLARE_PER_CPU (struct uv_hub_info_s, __uv_hub_info) | |
| #define UV_GLOBAL_MMR32_PNODE_BITS | ( | p | ) | ((p) << (UV_GLOBAL_MMR32_PNODE_SHIFT)) |
| #define UV_GLOBAL_MMR64_BASE (uv_hub_info->global_mmr_base) |
| #define UV_GLOBAL_MMR64_PNODE_BITS | ( | p | ) | ((unsigned long)(p) << UV_GLOBAL_MMR64_PNODE_SHIFT) |
| #define uv_hub_info (&__get_cpu_var(__uv_hub_info)) |
| #define UV_NASID_TO_PNODE | ( | n | ) | (((n) >> 1) & uv_hub_info->pnode_mask) |
| #define UV_PNODE_TO_NASID | ( | p | ) | (((p) << 1) | uv_hub_info->gnode_upper) |
| DECLARE_PER_CPU | ( | struct uv_hub_info_s | , |
| __uv_hub_info | |||
| ) |
1.8.2