summaryrefslogtreecommitdiff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-05-07 01:56:25 +0000
committerUlrich Drepper <drepper@redhat.com>2004-05-07 01:56:25 +0000
commita9dd9ea3cd0b8dbf0514320841e61ec0abb6d0f5 (patch)
treed77837b825cb0b725335fd0f8e8e25ccb7aac915 /elf/elf.h
parent165634aa4c7ed7b2fe8a47ff24166400a419d141 (diff)
(AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 444c6de30c..8665efc01c 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -963,6 +963,12 @@ typedef struct
#define AT_SYSINFO 32
#define AT_SYSINFO_EHDR 33
+/* Shapes of the caches. Bits 0-3 contains associativity; bits 4-7 contains
+ log2 of line size; mask those to get cache size. */
+#define AT_L1I_CACHESHAPE 34
+#define AT_L1D_CACHESHAPE 35
+#define AT_L2_CACHESHAPE 36
+#define AT_L3_CACHESHAPE 37
/* Note section contents. Each entry in the note section begins with
a header of a fixed form. */