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