162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
262306a36Sopenharmony_ci#ifndef __ASM_SH_AUXVEC_H
362306a36Sopenharmony_ci#define __ASM_SH_AUXVEC_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/*
662306a36Sopenharmony_ci * Architecture-neutral AT_ values in 0-17, leave some room
762306a36Sopenharmony_ci * for more of them.
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci/*
1162306a36Sopenharmony_ci * This entry gives some information about the FPU initialization
1262306a36Sopenharmony_ci * performed by the kernel.
1362306a36Sopenharmony_ci */
1462306a36Sopenharmony_ci#define AT_FPUCW		18	/* Used FPU control word.  */
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci#if defined(CONFIG_VSYSCALL) || !defined(__KERNEL__)
1762306a36Sopenharmony_ci/*
1862306a36Sopenharmony_ci * Only define this in the vsyscall case, the entry point to
1962306a36Sopenharmony_ci * the vsyscall page gets placed here. The kernel will attempt
2062306a36Sopenharmony_ci * to build a gate VMA we don't care about otherwise..
2162306a36Sopenharmony_ci */
2262306a36Sopenharmony_ci#define AT_SYSINFO_EHDR		33
2362306a36Sopenharmony_ci#endif
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci/*
2662306a36Sopenharmony_ci * More complete cache descriptions than AT_[DIU]CACHEBSIZE.  If the
2762306a36Sopenharmony_ci * value is -1, then the cache doesn't exist.  Otherwise:
2862306a36Sopenharmony_ci *
2962306a36Sopenharmony_ci *    bit 0-3:	  Cache set-associativity; 0 means fully associative.
3062306a36Sopenharmony_ci *    bit 4-7:	  Log2 of cacheline size.
3162306a36Sopenharmony_ci *    bit 8-31:	  Size of the entire cache >> 8.
3262306a36Sopenharmony_ci */
3362306a36Sopenharmony_ci#define AT_L1I_CACHESHAPE	34
3462306a36Sopenharmony_ci#define AT_L1D_CACHESHAPE	35
3562306a36Sopenharmony_ci#define AT_L2_CACHESHAPE	36
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci#define AT_VECTOR_SIZE_ARCH 5 /* entries in ARCH_DLINFO */
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci#endif /* __ASM_SH_AUXVEC_H */
40