From: Szabolcs Nagy Date: Fri, 2 Feb 2018 21:13:06 +0000 (+0000) Subject: elf.h: add AT_* auxval macros for cache geometry X-Git-Tag: v1.1.20~161 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e7bd039df24c0435f8f5c42840e894cb1d2798ac;p=oweals%2Fmusl.git elf.h: add AT_* auxval macros for cache geometry AT_L1I_*, AT_L1D_*, AT_L2_* and AT_L3_* were added in linux v4.11 for powerpc in commit 98a5f361b8625c6f4841d6ba013bbf0e80d08147. --- diff --git a/include/elf.h b/include/elf.h index e79915fe..3cebbe4a 100644 --- a/include/elf.h +++ b/include/elf.h @@ -1002,6 +1002,14 @@ typedef struct { #define AT_L2_CACHESHAPE 36 #define AT_L3_CACHESHAPE 37 +#define AT_L1I_CACHESIZE 40 +#define AT_L1I_CACHEGEOMETRY 41 +#define AT_L1D_CACHESIZE 42 +#define AT_L1D_CACHEGEOMETRY 43 +#define AT_L2_CACHESIZE 44 +#define AT_L2_CACHEGEOMETRY 45 +#define AT_L3_CACHESIZE 46 +#define AT_L3_CACHEGEOMETRY 47