From a9dd9ea3cd0b8dbf0514320841e61ec0abb6d0f5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 7 May 2004 01:56:25 +0000 Subject: [PATCH] (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New. --- elf/elf.h | 6 ++++++ 1 file changed, 6 insertions(+) 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. */