patch-2.1.79 linux/include/asm-alpha/cache.h
Next file: linux/include/asm-alpha/elf.h
Previous file: linux/include/asm-alpha/apecs.h
Back to the patch index
Back to the overall index
-  Lines: 14
 -  Date:
Mon Jan 12 14:51:14 1998
 -  Orig file: 
v2.1.78/linux/include/asm-alpha/cache.h
 -  Orig date: 
Sun Jan 26 02:07:46 1997
 
diff -u --recursive --new-file v2.1.78/linux/include/asm-alpha/cache.h linux/include/asm-alpha/cache.h
@@ -4,9 +4,9 @@
 #ifndef __ARCH_ALPHA_CACHE_H
 #define __ARCH_ALPHA_CACHE_H
 
-/* bytes per L1 cache line */
-#define        L1_CACHE_BYTES  32      /* a guess */
-
-#define        L1_CACHE_ALIGN(x)       (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
+/* Bytes per L1 (data) cache line.  Both EV4 and EV5 are write-through,
+   read-allocate, direct-mapped, physical. */
+#define L1_CACHE_BYTES     32
+#define L1_CACHE_ALIGN(x)  (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
 
 #endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov