Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
spram.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/ptrace.h>
#include <linux/stddef.h>
#include <asm/fpu.h>
#include <asm/mipsregs.h>
#include <asm/r4kcache.h>
#include <asm/hazards.h>

Go to the source code of this file.

Macros

#define SPRAM_TAG0_ENABLE   0x00000080
 
#define SPRAM_TAG0_PA_MASK   0xfffff000
 
#define SPRAM_TAG1_SIZE_MASK   0xfffff000
 
#define SPRAM_TAG_STRIDE   8
 
#define ERRCTL_SPRAM   (1 << 28)
 
#define read_c0_errctl(x)   read_c0_ecc(x)
 
#define write_c0_errctl(x)   write_c0_ecc(x)
 
#define TDAT   0x5a5aa5a5
 

Functions

void __cpuinit spram_config (void)
 

Macro Definition Documentation

#define ERRCTL_SPRAM   (1 << 28)

Definition at line 31 of file spram.c.

#define read_c0_errctl (   x)    read_c0_ecc(x)

Definition at line 34 of file spram.c.

#define SPRAM_TAG0_ENABLE   0x00000080

Definition at line 25 of file spram.c.

#define SPRAM_TAG0_PA_MASK   0xfffff000

Definition at line 26 of file spram.c.

#define SPRAM_TAG1_SIZE_MASK   0xfffff000

Definition at line 27 of file spram.c.

#define SPRAM_TAG_STRIDE   8

Definition at line 29 of file spram.c.

#define TDAT   0x5a5aa5a5
#define write_c0_errctl (   x)    write_c0_ecc(x)

Definition at line 35 of file spram.c.

Function Documentation

void __cpuinit spram_config ( void  )

Definition at line 199 of file spram.c.