18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci#ifndef _ASM_X86_AUXVEC_H 38c2ecf20Sopenharmony_ci#define _ASM_X86_AUXVEC_H 48c2ecf20Sopenharmony_ci/* 58c2ecf20Sopenharmony_ci * Architecture-neutral AT_ values in 0-17, leave some room 68c2ecf20Sopenharmony_ci * for more of them, start the x86-specific ones at 32. 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci#ifdef __i386__ 98c2ecf20Sopenharmony_ci#define AT_SYSINFO 32 108c2ecf20Sopenharmony_ci#endif 118c2ecf20Sopenharmony_ci#define AT_SYSINFO_EHDR 33 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci/* entries in ARCH_DLINFO: */ 148c2ecf20Sopenharmony_ci#if defined(CONFIG_IA32_EMULATION) || !defined(CONFIG_X86_64) 158c2ecf20Sopenharmony_ci# define AT_VECTOR_SIZE_ARCH 2 168c2ecf20Sopenharmony_ci#else /* else it's non-compat x86-64 */ 178c2ecf20Sopenharmony_ci# define AT_VECTOR_SIZE_ARCH 1 188c2ecf20Sopenharmony_ci#endif 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#endif /* _ASM_X86_AUXVEC_H */ 21