Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
30 lines
612 B
C
30 lines
612 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* File ported from IRIX to Linux by Kanoj Sarcar, 06/08/00.
|
|
* Copyright 2000 Silicon Graphics, Inc.
|
|
*/
|
|
#ifndef __ASM_SN_KLKERNVARS_H
|
|
#define __ASM_SN_KLKERNVARS_H
|
|
|
|
#define KV_MAGIC_OFFSET 0x0
|
|
#define KV_RO_NASID_OFFSET 0x4
|
|
#define KV_RW_NASID_OFFSET 0x6
|
|
|
|
#define KV_MAGIC 0x5f4b565f
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#include <asm/sn/types.h>
|
|
|
|
typedef struct kern_vars_s {
|
|
int kv_magic;
|
|
nasid_t kv_ro_nasid;
|
|
nasid_t kv_rw_nasid;
|
|
unsigned long kv_ro_baseaddr;
|
|
unsigned long kv_rw_baseaddr;
|
|
} kern_vars_t;
|
|
|
|
#endif /* !__ASSEMBLY__ */
|
|
|
|
#endif /* __ASM_SN_KLKERNVARS_H */
|