diff options
| author | Szabolcs Nagy <nsz@port70.net> | 2018-02-02 21:13:06 +0000 | 
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2018-02-22 18:49:39 -0500 | 
| commit | e7bd039df24c0435f8f5c42840e894cb1d2798ac (patch) | |
| tree | 3fac0b4f77aa5caf4ed4e2e9111a5c3f37ebadd7 | |
| parent | 121d18d2f254fceb7e489d7a99527124f4084b5b (diff) | |
| download | musl-e7bd039df24c0435f8f5c42840e894cb1d2798ac.tar.gz | |
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.
| -rw-r--r-- | include/elf.h | 8 | 
1 files changed, 8 insertions, 0 deletions
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  | 
