diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | elf/elf.h | 12 |
2 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2017-04-11 Paul Clarke <pc@us.ibm.com> + + * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, + AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, + AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec + identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h. + 2017-04-11 Florian Weimer <fweimer@redhat.com> Zack Weinberg <zackw@panix.com> @@ -1170,6 +1170,18 @@ typedef struct #define AT_L2_CACHESHAPE 36 #define AT_L3_CACHESHAPE 37 +/* Shapes of the caches, with more room to describe them. + *GEOMETRY are comprised of cache line size in bytes in the bottom 16 bits + and the cache associativity in the next 16 bits. */ +#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 + /* Note section contents. Each entry in the note section begins with a header of a fixed form. */ |