Christopher Ferris | 2598113 | 2017-11-14 16:53:49 -0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Christopher Ferris | 0437c52 | 2013-11-07 14:16:29 -0800 | [diff] [blame] | 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 2 |
| 16 | #else /* else it's non-compat x86-64 */ |
| 17 | # define AT_VECTOR_SIZE_ARCH 1 |
| 18 | #endif |
| 19 | |
| 20 | #endif /* _ASM_X86_AUXVEC_H */ |