xref: /openbmc/linux/arch/sh/include/uapi/asm/auxvec.h (revision 6f52b16c)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
20a9426dfSDavid Howells #ifndef __ASM_SH_AUXVEC_H
30a9426dfSDavid Howells #define __ASM_SH_AUXVEC_H
40a9426dfSDavid Howells 
50a9426dfSDavid Howells /*
60a9426dfSDavid Howells  * Architecture-neutral AT_ values in 0-17, leave some room
70a9426dfSDavid Howells  * for more of them.
80a9426dfSDavid Howells  */
90a9426dfSDavid Howells 
100a9426dfSDavid Howells /*
110a9426dfSDavid Howells  * This entry gives some information about the FPU initialization
120a9426dfSDavid Howells  * performed by the kernel.
130a9426dfSDavid Howells  */
140a9426dfSDavid Howells #define AT_FPUCW		18	/* Used FPU control word.  */
150a9426dfSDavid Howells 
160a9426dfSDavid Howells #if defined(CONFIG_VSYSCALL) || !defined(__KERNEL__)
170a9426dfSDavid Howells /*
180a9426dfSDavid Howells  * Only define this in the vsyscall case, the entry point to
190a9426dfSDavid Howells  * the vsyscall page gets placed here. The kernel will attempt
200a9426dfSDavid Howells  * to build a gate VMA we don't care about otherwise..
210a9426dfSDavid Howells  */
220a9426dfSDavid Howells #define AT_SYSINFO_EHDR		33
230a9426dfSDavid Howells #endif
240a9426dfSDavid Howells 
250a9426dfSDavid Howells /*
260a9426dfSDavid Howells  * More complete cache descriptions than AT_[DIU]CACHEBSIZE.  If the
270a9426dfSDavid Howells  * value is -1, then the cache doesn't exist.  Otherwise:
280a9426dfSDavid Howells  *
290a9426dfSDavid Howells  *    bit 0-3:	  Cache set-associativity; 0 means fully associative.
300a9426dfSDavid Howells  *    bit 4-7:	  Log2 of cacheline size.
310a9426dfSDavid Howells  *    bit 8-31:	  Size of the entire cache >> 8.
320a9426dfSDavid Howells  */
330a9426dfSDavid Howells #define AT_L1I_CACHESHAPE	34
340a9426dfSDavid Howells #define AT_L1D_CACHESHAPE	35
350a9426dfSDavid Howells #define AT_L2_CACHESHAPE	36
360a9426dfSDavid Howells 
370a9426dfSDavid Howells #define AT_VECTOR_SIZE_ARCH 5 /* entries in ARCH_DLINFO */
380a9426dfSDavid Howells 
390a9426dfSDavid Howells #endif /* __ASM_SH_AUXVEC_H */
40