162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci#ifndef _ASM_X86_AUXVEC_H 362306a36Sopenharmony_ci#define _ASM_X86_AUXVEC_H 462306a36Sopenharmony_ci/* 562306a36Sopenharmony_ci * Architecture-neutral AT_ values in 0-17, leave some room 662306a36Sopenharmony_ci * for more of them, start the x86-specific ones at 32. 762306a36Sopenharmony_ci */ 862306a36Sopenharmony_ci#ifdef __i386__ 962306a36Sopenharmony_ci#define AT_SYSINFO 32 1062306a36Sopenharmony_ci#endif 1162306a36Sopenharmony_ci#define AT_SYSINFO_EHDR 33 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci/* entries in ARCH_DLINFO: */ 1462306a36Sopenharmony_ci#if defined(CONFIG_IA32_EMULATION) || !defined(CONFIG_X86_64) 1562306a36Sopenharmony_ci# define AT_VECTOR_SIZE_ARCH 3 1662306a36Sopenharmony_ci#else /* else it's non-compat x86-64 */ 1762306a36Sopenharmony_ci# define AT_VECTOR_SIZE_ARCH 2 1862306a36Sopenharmony_ci#endif 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci#endif /* _ASM_X86_AUXVEC_H */ 21