1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * File ported from IRIX to Linux by Kanoj Sarcar, 06/08/00. 4 * Copyright 2000 Silicon Graphics, Inc. 5 */ 6 #ifndef __ASM_SN_KLKERNVARS_H 7 #define __ASM_SN_KLKERNVARS_H 8 9 #define KV_MAGIC_OFFSET 0x0 10 #define KV_RO_NASID_OFFSET 0x4 11 #define KV_RW_NASID_OFFSET 0x6 12 13 #define KV_MAGIC 0x5f4b565f 14 15 #ifndef __ASSEMBLY__ 16 17 #include <asm/sn/types.h> 18 19 typedef struct kern_vars_s { 20 int kv_magic; 21 nasid_t kv_ro_nasid; 22 nasid_t kv_rw_nasid; 23 unsigned long kv_ro_baseaddr; 24 unsigned long kv_rw_baseaddr; 25 } kern_vars_t; 26 27 #endif /* !__ASSEMBLY__ */ 28 29 #endif /* __ASM_SN_KLKERNVARS_H */ 30
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.