diff options
Diffstat (limited to 'include/asm-mips/sn/klkernvars.h')
-rw-r--r-- | include/asm-mips/sn/klkernvars.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/asm-mips/sn/klkernvars.h b/include/asm-mips/sn/klkernvars.h new file mode 100644 index 000000000000..5de4c5e8ab30 --- /dev/null +++ b/include/asm-mips/sn/klkernvars.h | |||
@@ -0,0 +1,29 @@ | |||
1 | /* | ||
2 | * File ported from IRIX to Linux by Kanoj Sarcar, 06/08/00. | ||
3 | * Copyright 2000 Silicon Graphics, Inc. | ||
4 | */ | ||
5 | #ifndef __ASM_SN_KLKERNVARS_H | ||
6 | #define __ASM_SN_KLKERNVARS_H | ||
7 | |||
8 | #define KV_MAGIC_OFFSET 0x0 | ||
9 | #define KV_RO_NASID_OFFSET 0x4 | ||
10 | #define KV_RW_NASID_OFFSET 0x6 | ||
11 | |||
12 | #define KV_MAGIC 0x5f4b565f | ||
13 | |||
14 | #ifndef __ASSEMBLY__ | ||
15 | |||
16 | #include <asm/sn/types.h> | ||
17 | |||
18 | typedef struct kern_vars_s { | ||
19 | int kv_magic; | ||
20 | nasid_t kv_ro_nasid; | ||
21 | nasid_t kv_rw_nasid; | ||
22 | unsigned long kv_ro_baseaddr; | ||
23 | unsigned long kv_rw_baseaddr; | ||
24 | } kern_vars_t; | ||
25 | |||
26 | #endif /* !__ASSEMBLY__ */ | ||
27 | |||
28 | #endif /* __ASM_SN_KLKERNVARS_H */ | ||
29 | |||