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