Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
c-r4k.c File Reference
#include <linux/hardirq.h>
#include <linux/init.h>
#include <linux/highmem.h>
#include <linux/kernel.h>
#include <linux/linkage.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/bitops.h>
#include <asm/bcache.h>
#include <asm/bootinfo.h>
#include <asm/cache.h>
#include <asm/cacheops.h>
#include <asm/cpu.h>
#include <asm/cpu-features.h>
#include <asm/io.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/r4kcache.h>
#include <asm/sections.h>
#include <asm/mmu_context.h>
#include <asm/war.h>
#include <asm/cacheflush.h>
#include <asm/traps.h>

Go to the source code of this file.

Data Structures

struct  flush_cache_page_args
 
struct  flush_icache_range_args
 
struct  flush_kernel_vmap_range_args
 

Macros

#define cpu_has_safe_index_cacheops   1
 
#define cpu_is_r4600_v1_x()   ((read_c0_prid() & 0xfffffff0) == 0x00002010)
 
#define cpu_is_r4600_v2_x()   ((read_c0_prid() & 0xfffffff0) == 0x00002020)
 
#define R4600_HIT_CACHEOP_WAR_IMPL
 
#define JUMP_TO_ALIGN(order)
 
#define CACHE32_UNROLL32_ALIGN   JUMP_TO_ALIGN(10) /* 32 * 32 = 1024 */
 
#define CACHE32_UNROLL32_ALIGN2   JUMP_TO_ALIGN(11)
 
#define NXP_BARRIER()
 

Functions

int r5k_sc_init (void)
 
int rm7k_sc_init (void)
 
int mips_sc_init (void)
 
void au1x00_fixup_config_od (void)
 
 __setup ("cca=", cca_setup)
 
void __cpuinit r4k_cache_init (void)
 

Variables

struct bcache_opsbcops = &no_sc_ops
 

Macro Definition Documentation

#define CACHE32_UNROLL32_ALIGN   JUMP_TO_ALIGN(10) /* 32 * 32 = 1024 */

Definition at line 162 of file c-r4k.c.

#define CACHE32_UNROLL32_ALIGN2   JUMP_TO_ALIGN(11)

Definition at line 163 of file c-r4k.c.

#define cpu_has_safe_index_cacheops   1

Definition at line 60 of file c-r4k.c.

#define cpu_is_r4600_v1_x ( )    ((read_c0_prid() & 0xfffffff0) == 0x00002010)

Definition at line 84 of file c-r4k.c.

#define cpu_is_r4600_v2_x ( )    ((read_c0_prid() & 0xfffffff0) == 0x00002020)

Definition at line 85 of file c-r4k.c.

#define JUMP_TO_ALIGN (   order)
Value:
__asm__ __volatile__( \
"b\t1f\n\t" \
".align\t" #order "\n\t" \
"1:\n\t" \
)

Definition at line 156 of file c-r4k.c.

#define NXP_BARRIER ( )
Value:
__asm__ __volatile__( \
".set noreorder\n\t" \
"nop; nop; nop; nop; nop; nop;\n\t" \
".set reorder\n\t")

Definition at line 1324 of file c-r4k.c.

#define R4600_HIT_CACHEOP_WAR_IMPL
Value:
do { \
*(volatile unsigned long *)CKSEG1; \
__asm__ __volatile__("nop;nop;nop;nop"); \
} while (0)

Definition at line 87 of file c-r4k.c.

Function Documentation

__setup ( )
void au1x00_fixup_config_od ( void  )

Definition at line 1298 of file c-r4k.c.

int mips_sc_init ( void  )

Definition at line 137 of file sc-mips.c.

void __cpuinit r4k_cache_init ( void  )

Definition at line 1428 of file c-r4k.c.

int r5k_sc_init ( void  )

Definition at line 101 of file sc-r5k.c.

int rm7k_sc_init ( void  )

Definition at line 229 of file sc-rm7k.c.

Variable Documentation

struct bcache_ops* bcops = &no_sc_ops

Definition at line 82 of file c-r4k.c.