Path: blob/master/arch/powerpc/include/uapi/asm/auxvec.h
26516 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _ASM_POWERPC_AUXVEC_H2#define _ASM_POWERPC_AUXVEC_H34/*5* We need to put in some extra aux table entries to tell glibc what6* the cache block size is, so it can use the dcbz instruction safely.7*/8#define AT_DCACHEBSIZE 199#define AT_ICACHEBSIZE 2010#define AT_UCACHEBSIZE 2111/* A special ignored type value for PPC, for glibc compatibility. */12#define AT_IGNOREPPC 221314/* The vDSO location. We have to use the same value as x86 for glibc's15* sake :-)16*/17#define AT_SYSINFO_EHDR 331819/*20* AT_*CACHEBSIZE above represent the cache *block* size which is21* the size that is affected by the cache management instructions.22*23* It doesn't nececssarily matches the cache *line* size which is24* more of a performance tuning hint. Additionally the latter can25* be different for the different cache levels.26*27* The set of entries below represent more extensive information28* about the caches, in the form of two entry per cache type,29* one entry containing the cache size in bytes, and the other30* containing the cache line size in bytes in the bottom 16 bits31* and the cache associativity in the next 16 bits.32*33* The associativity is such that if N is the 16-bit value, the34* cache is N way set associative. A value if 0xffff means fully35* associative, a value of 1 means directly mapped.36*37* For all these fields, a value of 0 means that the information38* is not known.39*/4041#define AT_L1I_CACHESIZE 4042#define AT_L1I_CACHEGEOMETRY 4143#define AT_L1D_CACHESIZE 4244#define AT_L1D_CACHEGEOMETRY 4345#define AT_L2_CACHESIZE 4446#define AT_L2_CACHEGEOMETRY 4547#define AT_L3_CACHESIZE 4648#define AT_L3_CACHEGEOMETRY 474950#define AT_MINSIGSTKSZ 51 /* stack needed for signal delivery */5152#define AT_VECTOR_SIZE_ARCH 15 /* entries in ARCH_DLINFO */5354#endif555657