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