From: Ulrich Drepper Date: Fri, 7 May 2004 01:56:25 +0000 (+0000) Subject: (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New. X-Git-Tag: cvs/fedora-base~481 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9dd9ea3cd0b8dbf0514320841e61ec0abb6d0f5;p=thirdparty%2Fglibc.git (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New. --- diff --git a/elf/elf.h b/elf/elf.h index 444c6de30c6..8665efc01c3 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. */