elf.h: add AT_* auxval macros for cache geometry
authorSzabolcs Nagy <nsz@port70.net>
Fri, 2 Feb 2018 21:13:06 +0000 (21:13 +0000)
committerRich Felker <dalias@aerifal.cx>
Thu, 22 Feb 2018 23:49:39 +0000 (18:49 -0500)
AT_L1I_*, AT_L1D_*, AT_L2_* and AT_L3_* were added in linux v4.11 for
powerpc in commit 98a5f361b8625c6f4841d6ba013bbf0e80d08147.

include/elf.h

index e79915fe2a031584ec05cb047f92fde1b072e2bf..3cebbe4a52e696e4b65ea7883578174b2f220a9b 100644 (file)
@@ -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