xref: /openbmc/linux/arch/x86/include/uapi/asm/auxvec.h (revision 762f99f4f3cb41a775b5157dd761217beba65873)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2af170c50SDavid Howells #ifndef _ASM_X86_AUXVEC_H
3af170c50SDavid Howells #define _ASM_X86_AUXVEC_H
4af170c50SDavid Howells /*
5af170c50SDavid Howells  * Architecture-neutral AT_ values in 0-17, leave some room
6af170c50SDavid Howells  * for more of them, start the x86-specific ones at 32.
7af170c50SDavid Howells  */
8af170c50SDavid Howells #ifdef __i386__
9af170c50SDavid Howells #define AT_SYSINFO		32
10af170c50SDavid Howells #endif
11af170c50SDavid Howells #define AT_SYSINFO_EHDR		33
12af170c50SDavid Howells 
13af170c50SDavid Howells /* entries in ARCH_DLINFO: */
14af170c50SDavid Howells #if defined(CONFIG_IA32_EMULATION) || !defined(CONFIG_X86_64)
15*1c33bb05SChang S. Bae # define AT_VECTOR_SIZE_ARCH 3
16af170c50SDavid Howells #else /* else it's non-compat x86-64 */
17*1c33bb05SChang S. Bae # define AT_VECTOR_SIZE_ARCH 2
18af170c50SDavid Howells #endif
19af170c50SDavid Howells 
20af170c50SDavid Howells #endif /* _ASM_X86_AUXVEC_H */
21