]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
authorUlrich Drepper <drepper@redhat.com>
Fri, 7 May 2004 01:56:25 +0000 (01:56 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 7 May 2004 01:56:25 +0000 (01:56 +0000)
elf/elf.h

index 444c6de30c6a6ddfa20d7f633a344fbada468072..8665efc01c31844294d316f92b35a10130276e8b 100644 (file)
--- 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.  */