diff options
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/uv/bios.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/include/asm-x86/uv/bios.h b/include/asm-x86/uv/bios.h index f63e46e5337c..3b305d897c84 100644 --- a/include/asm-x86/uv/bios.h +++ b/include/asm-x86/uv/bios.h | |||
@@ -61,6 +61,16 @@ enum { | |||
61 | BIOS_FREQ_BASE_REALTIME_CLOCK = 2 | 61 | BIOS_FREQ_BASE_REALTIME_CLOCK = 2 |
62 | }; | 62 | }; |
63 | 63 | ||
64 | union partition_info_u { | ||
65 | u64 val; | ||
66 | struct { | ||
67 | u64 hub_version : 8, | ||
68 | partition_id : 16, | ||
69 | coherence_id : 16, | ||
70 | region_size : 24; | ||
71 | }; | ||
72 | }; | ||
73 | |||
64 | /* | 74 | /* |
65 | * bios calls have 6 parameters | 75 | * bios calls have 6 parameters |
66 | */ | 76 | */ |
@@ -68,10 +78,16 @@ extern s64 uv_bios_call(enum uv_bios_cmd, u64, u64, u64, u64, u64); | |||
68 | extern s64 uv_bios_call_irqsave(enum uv_bios_cmd, u64, u64, u64, u64, u64); | 78 | extern s64 uv_bios_call_irqsave(enum uv_bios_cmd, u64, u64, u64, u64, u64); |
69 | extern s64 uv_bios_call_reentrant(enum uv_bios_cmd, u64, u64, u64, u64, u64); | 79 | extern s64 uv_bios_call_reentrant(enum uv_bios_cmd, u64, u64, u64, u64, u64); |
70 | 80 | ||
81 | extern s64 uv_bios_get_sn_info(int, int *, long *, long *, long *); | ||
82 | extern s64 uv_bios_freq_base(u64, u64 *); | ||
83 | |||
71 | extern void uv_bios_init(void); | 84 | extern void uv_bios_init(void); |
72 | 85 | ||
73 | extern long | 86 | extern int uv_type; |
74 | x86_bios_freq_base(unsigned long which, unsigned long *ticks_per_second, | 87 | extern long sn_partition_id; |
75 | unsigned long *drift_info); | 88 | extern long uv_coherency_id; |
89 | extern long uv_region_size; | ||
90 | #define partition_coherence_id() (uv_coherency_id) | ||
91 | |||
76 | 92 | ||
77 | #endif /* ASM_X86__UV__BIOS_H */ | 93 | #endif /* ASM_X86__UV__BIOS_H */ |