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

Go to the source code of this file.

Macros

#define CR_M   (1 << 0) /* MMU enable */
 
#define CR_A   (1 << 1) /* Alignment abort enable */
 
#define CR_D   (1 << 2) /* Dcache enable */
 
#define CR_I   (1 << 3) /* Icache enable */
 
#define CR_B   (1 << 4) /* Dcache write mechanism: write back */
 
#define CR_T   (1 << 5) /* Burst enable */
 
#define CR_V   (1 << 13) /* Vectors relocated to 0xffff0000 */
 
#define vectors_high()   (cr_alignment & CR_V)
 

Functions

void adjust_cr (unsigned long mask, unsigned long set)
 

Variables

unsigned long cr_no_alignment
 
unsigned long cr_alignment
 

Macro Definition Documentation

#define CR_A   (1 << 1) /* Alignment abort enable */

Definition at line 17 of file hwdef-copro.h.

#define CR_B   (1 << 4) /* Dcache write mechanism: write back */

Definition at line 20 of file hwdef-copro.h.

#define CR_D   (1 << 2) /* Dcache enable */

Definition at line 18 of file hwdef-copro.h.

#define CR_I   (1 << 3) /* Icache enable */

Definition at line 19 of file hwdef-copro.h.

#define CR_M   (1 << 0) /* MMU enable */

Definition at line 16 of file hwdef-copro.h.

#define CR_T   (1 << 5) /* Burst enable */

Definition at line 21 of file hwdef-copro.h.

#define CR_V   (1 << 13) /* Vectors relocated to 0xffff0000 */

Definition at line 22 of file hwdef-copro.h.

#define vectors_high ( )    (cr_alignment & CR_V)

Definition at line 26 of file hwdef-copro.h.

Function Documentation

void adjust_cr ( unsigned long  mask,
unsigned long  set 
)

Definition at line 179 of file mmu.c.

Variable Documentation

unsigned long cr_alignment
unsigned long cr_no_alignment