auxvec.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef __ASM_SH_AUXVEC_H
  3. #define __ASM_SH_AUXVEC_H
  4. /*
  5. * Architecture-neutral AT_ values in 0-17, leave some room
  6. * for more of them.
  7. */
  8. /*
  9. * This entry gives some information about the FPU initialization
  10. * performed by the kernel.
  11. */
  12. #define AT_FPUCW 18 /* Used FPU control word. */
  13. #if defined(CONFIG_VSYSCALL) || !defined(__KERNEL__)
  14. /*
  15. * Only define this in the vsyscall case, the entry point to
  16. * the vsyscall page gets placed here. The kernel will attempt
  17. * to build a gate VMA we don't care about otherwise..
  18. */
  19. #define AT_SYSINFO_EHDR 33
  20. #endif
  21. /*
  22. * More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the
  23. * value is -1, then the cache doesn't exist. Otherwise:
  24. *
  25. * bit 0-3: Cache set-associativity; 0 means fully associative.
  26. * bit 4-7: Log2 of cacheline size.
  27. * bit 8-31: Size of the entire cache >> 8.
  28. */
  29. #define AT_L1I_CACHESHAPE 34
  30. #define AT_L1D_CACHESHAPE 35
  31. #define AT_L2_CACHESHAPE 36
  32. #define AT_VECTOR_SIZE_ARCH 5 /* entries in ARCH_DLINFO */
  33. #endif /* __ASM_SH_AUXVEC_H */