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

Go to the source code of this file.

Macros

#define CACHEID_VIVT   (1 << 0)
 
#define CACHEID_VIPT_NONALIASING   (1 << 1)
 
#define CACHEID_VIPT_ALIASING   (1 << 2)
 
#define CACHEID_VIPT   (CACHEID_VIPT_ALIASING|CACHEID_VIPT_NONALIASING)
 
#define CACHEID_ASID_TAGGED   (1 << 3)
 
#define CACHEID_VIPT_I_ALIASING   (1 << 4)
 
#define CACHEID_PIPT   (1 << 5)
 
#define cache_is_vivt()   cacheid_is(CACHEID_VIVT)
 
#define cache_is_vipt()   cacheid_is(CACHEID_VIPT)
 
#define cache_is_vipt_nonaliasing()   cacheid_is(CACHEID_VIPT_NONALIASING)
 
#define cache_is_vipt_aliasing()   cacheid_is(CACHEID_VIPT_ALIASING)
 
#define icache_is_vivt_asid_tagged()   cacheid_is(CACHEID_ASID_TAGGED)
 
#define icache_is_vipt_aliasing()   cacheid_is(CACHEID_VIPT_I_ALIASING)
 
#define icache_is_pipt()   cacheid_is(CACHEID_PIPT)
 
#define __CACHEID_ARCH_MIN   (~0)
 
#define __CACHEID_ALWAYS   (0)
 
#define __CACHEID_NEVER   (0)
 

Variables

unsigned int cacheid
 

Macro Definition Documentation

#define __CACHEID_ALWAYS   (0)

Definition at line 49 of file cachetype.h.

#define __CACHEID_ARCH_MIN   (~0)

Definition at line 36 of file cachetype.h.

#define __CACHEID_NEVER   (0)

Definition at line 50 of file cachetype.h.

#define cache_is_vipt ( )    cacheid_is(CACHEID_VIPT)

Definition at line 15 of file cachetype.h.

#define cache_is_vipt_aliasing ( )    cacheid_is(CACHEID_VIPT_ALIASING)

Definition at line 17 of file cachetype.h.

#define cache_is_vipt_nonaliasing ( )    cacheid_is(CACHEID_VIPT_NONALIASING)

Definition at line 16 of file cachetype.h.

#define cache_is_vivt ( )    cacheid_is(CACHEID_VIVT)

Definition at line 14 of file cachetype.h.

#define CACHEID_ASID_TAGGED   (1 << 3)

Definition at line 8 of file cachetype.h.

#define CACHEID_PIPT   (1 << 5)

Definition at line 10 of file cachetype.h.

#define CACHEID_VIPT   (CACHEID_VIPT_ALIASING|CACHEID_VIPT_NONALIASING)

Definition at line 7 of file cachetype.h.

#define CACHEID_VIPT_ALIASING   (1 << 2)

Definition at line 6 of file cachetype.h.

#define CACHEID_VIPT_I_ALIASING   (1 << 4)

Definition at line 9 of file cachetype.h.

#define CACHEID_VIPT_NONALIASING   (1 << 1)

Definition at line 5 of file cachetype.h.

#define CACHEID_VIVT   (1 << 0)

Definition at line 4 of file cachetype.h.

#define icache_is_pipt ( )    cacheid_is(CACHEID_PIPT)

Definition at line 20 of file cachetype.h.

#define icache_is_vipt_aliasing ( )    cacheid_is(CACHEID_VIPT_I_ALIASING)

Definition at line 19 of file cachetype.h.

#define icache_is_vivt_asid_tagged ( )    cacheid_is(CACHEID_ASID_TAGGED)

Definition at line 18 of file cachetype.h.

Variable Documentation

unsigned int cacheid