auxvec.h 546 B

123456789101112131415161718192021
  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. /* entries in ARCH_DLINFO: */
  13. #if defined(CONFIG_IA32_EMULATION) || !defined(CONFIG_X86_64)
  14. # define AT_VECTOR_SIZE_ARCH 2
  15. #else /* else it's non-compat x86-64 */
  16. # define AT_VECTOR_SIZE_ARCH 1
  17. #endif
  18. #endif /* _ASM_X86_AUXVEC_H */