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