summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRuss Anderson <rja@sgi.com>2008-10-03 11:59:33 -0500
committerIngo Molnar <mingo@elte.hu>2008-10-16 16:53:13 +0200
commit922402f15a85f7a064926eb1db68cc52bc4d4a91 (patch)
tree8e76ac0210479f4babffd71d349d6bcb1e495e16 /include
parent7f5942329e0787087a5e4dced838cee711ac2b58 (diff)
downloadblackbird-op-linux-922402f15a85f7a064926eb1db68cc52bc4d4a91.tar.gz
blackbird-op-linux-922402f15a85f7a064926eb1db68cc52bc4d4a91.zip
x86: Add UV partition call v4
Add a bios call to return partitioning related info. Signed-off-by: Russ Anderson <rja@sgi.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/uv/bios.h22
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 {
BIOS_FREQ_BASE_REALTIME_CLOCK = 2
};
+union partition_info_u {
+ u64 val;
+ struct {
+ u64 hub_version : 8,
+ partition_id : 16,
+ coherence_id : 16,
+ region_size : 24;
+ };
+};
+
/*
* bios calls have 6 parameters
*/
@@ -68,10 +78,16 @@ extern s64 uv_bios_call(enum uv_bios_cmd, u64, u64, u64, u64, u64);
extern s64 uv_bios_call_irqsave(enum uv_bios_cmd, u64, u64, u64, u64, u64);
extern s64 uv_bios_call_reentrant(enum uv_bios_cmd, u64, u64, u64, u64, u64);
+extern s64 uv_bios_get_sn_info(int, int *, long *, long *, long *);
+extern s64 uv_bios_freq_base(u64, u64 *);
+
extern void uv_bios_init(void);
-extern long
-x86_bios_freq_base(unsigned long which, unsigned long *ticks_per_second,
- unsigned long *drift_info);
+extern int uv_type;
+extern long sn_partition_id;
+extern long uv_coherency_id;
+extern long uv_region_size;
+#define partition_coherence_id() (uv_coherency_id)
+
#endif /* ASM_X86__UV__BIOS_H */
OpenPOWER on IntegriCloud