18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci#ifndef __ASM_SH_AUXVEC_H
38c2ecf20Sopenharmony_ci#define __ASM_SH_AUXVEC_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/*
68c2ecf20Sopenharmony_ci * Architecture-neutral AT_ values in 0-17, leave some room
78c2ecf20Sopenharmony_ci * for more of them.
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci/*
118c2ecf20Sopenharmony_ci * This entry gives some information about the FPU initialization
128c2ecf20Sopenharmony_ci * performed by the kernel.
138c2ecf20Sopenharmony_ci */
148c2ecf20Sopenharmony_ci#define AT_FPUCW		18	/* Used FPU control word.  */
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#if defined(CONFIG_VSYSCALL) || !defined(__KERNEL__)
178c2ecf20Sopenharmony_ci/*
188c2ecf20Sopenharmony_ci * Only define this in the vsyscall case, the entry point to
198c2ecf20Sopenharmony_ci * the vsyscall page gets placed here. The kernel will attempt
208c2ecf20Sopenharmony_ci * to build a gate VMA we don't care about otherwise..
218c2ecf20Sopenharmony_ci */
228c2ecf20Sopenharmony_ci#define AT_SYSINFO_EHDR		33
238c2ecf20Sopenharmony_ci#endif
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci/*
268c2ecf20Sopenharmony_ci * More complete cache descriptions than AT_[DIU]CACHEBSIZE.  If the
278c2ecf20Sopenharmony_ci * value is -1, then the cache doesn't exist.  Otherwise:
288c2ecf20Sopenharmony_ci *
298c2ecf20Sopenharmony_ci *    bit 0-3:	  Cache set-associativity; 0 means fully associative.
308c2ecf20Sopenharmony_ci *    bit 4-7:	  Log2 of cacheline size.
318c2ecf20Sopenharmony_ci *    bit 8-31:	  Size of the entire cache >> 8.
328c2ecf20Sopenharmony_ci */
338c2ecf20Sopenharmony_ci#define AT_L1I_CACHESHAPE	34
348c2ecf20Sopenharmony_ci#define AT_L1D_CACHESHAPE	35
358c2ecf20Sopenharmony_ci#define AT_L2_CACHESHAPE	36
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci#define AT_VECTOR_SIZE_ARCH 5 /* entries in ARCH_DLINFO */
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci#endif /* __ASM_SH_AUXVEC_H */
40