Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
cache.h File Reference

Go to the source code of this file.

Macros

#define L1_CACHE_NWAYS   4 /* number of ways in caches */
 
#define L1_CACHE_NENTRIES   128 /* number of entries in each way */
 
#define L1_CACHE_BYTES   32 /* bytes per entry */
 
#define L1_CACHE_SHIFT   5 /* shift for bytes per entry */
 
#define L1_CACHE_WAYDISP   0x1000 /* distance from one way to the next */
 
#define L1_CACHE_TAG_VALID   0x00000001 /* cache tag valid bit */
 
#define L1_CACHE_TAG_DIRTY   0x00000008 /* data cache tag dirty bit */
 
#define L1_CACHE_TAG_ENTRY   0x00000fe0 /* cache tag entry address mask */
 
#define L1_CACHE_TAG_ADDRESS   0xfffff000 /* cache tag line address mask */
 
#define L1_CACHE_TAG_MASK   +(L1_CACHE_TAG_ADDRESS|L1_CACHE_TAG_ENTRY)
 
#define MN10300_DCACHE_INV_RANGE_INTR_LOG2_INTERVAL   4
 
#define MN10300_DCACHE_FLUSH_BORDER   +(L1_CACHE_NWAYS * L1_CACHE_NENTRIES * L1_CACHE_BYTES)
 
#define MN10300_DCACHE_FLUSH_INV_BORDER   +(L1_CACHE_NWAYS * L1_CACHE_NENTRIES * L1_CACHE_BYTES)
 

Macro Definition Documentation

#define L1_CACHE_BYTES   32 /* bytes per entry */

Definition at line 24 of file cache.h.

#define L1_CACHE_NENTRIES   128 /* number of entries in each way */

Definition at line 23 of file cache.h.

#define L1_CACHE_NWAYS   4 /* number of ways in caches */

Definition at line 22 of file cache.h.

#define L1_CACHE_SHIFT   5 /* shift for bytes per entry */

Definition at line 25 of file cache.h.

#define L1_CACHE_TAG_ADDRESS   0xfffff000 /* cache tag line address mask */

Definition at line 31 of file cache.h.

#define L1_CACHE_TAG_DIRTY   0x00000008 /* data cache tag dirty bit */

Definition at line 29 of file cache.h.

#define L1_CACHE_TAG_ENTRY   0x00000fe0 /* cache tag entry address mask */

Definition at line 30 of file cache.h.

#define L1_CACHE_TAG_MASK   +(L1_CACHE_TAG_ADDRESS|L1_CACHE_TAG_ENTRY)

Definition at line 32 of file cache.h.

#define L1_CACHE_TAG_VALID   0x00000001 /* cache tag valid bit */

Definition at line 28 of file cache.h.

#define L1_CACHE_WAYDISP   0x1000 /* distance from one way to the next */

Definition at line 26 of file cache.h.

#define MN10300_DCACHE_FLUSH_BORDER   +(L1_CACHE_NWAYS * L1_CACHE_NENTRIES * L1_CACHE_BYTES)

Definition at line 44 of file cache.h.

#define MN10300_DCACHE_FLUSH_INV_BORDER   +(L1_CACHE_NWAYS * L1_CACHE_NENTRIES * L1_CACHE_BYTES)

Definition at line 46 of file cache.h.

#define MN10300_DCACHE_INV_RANGE_INTR_LOG2_INTERVAL   4

Definition at line 38 of file cache.h.