Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
page.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <asm/bugs.h>
#include <asm/cacheops.h>
#include <asm/inst.h>
#include <asm/io.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/prefetch.h>
#include <asm/bootinfo.h>
#include <asm/mipsregs.h>
#include <asm/mmu_context.h>
#include <asm/cpu.h>
#include <asm/war.h>
#include <asm/uasm.h>

Go to the source code of this file.

Macros

#define ZERO   0
 
#define AT   2
 
#define A0   4
 
#define A1   5
 
#define A2   6
 
#define T0   8
 
#define T1   9
 
#define T2   10
 
#define T3   11
 
#define T9   25
 
#define RA   31
 
#define cpu_is_r4600_v1_x()   ((read_c0_prid() & 0xfffffff0) == 0x00002010)
 
#define cpu_is_r4600_v2_x()   ((read_c0_prid() & 0xfffffff0) == 0x00002020)
 
#define cache_line_mask()   (cache_line_size - 1)
 

Enumerations

enum  label_id {
  label_clear_nopref = 1, label_clear_pref, label_copy_nopref, label_copy_pref_both,
  label_copy_pref_store, label_second_part = 1, label_leave, label_vmalloc,
  label_vmalloc_done, label_tlbw_hazard_0, label_split = label_tlbw_hazard_0 + 8, label_tlbl_goaround1,
  label_tlbl_goaround2, label_nopage_tlbl, label_nopage_tlbs, label_nopage_tlbm,
  label_smp_pgtable_change, label_r3000_write_probe_fail, label_large_segbits_fault
}
 

Functions

void __cpuinit build_clear_page (void)
 
void __cpuinit build_copy_page (void)
 

Variables

u32 __clear_page_start
 
u32 __clear_page_end
 
u32 __copy_page_start
 
u32 __copy_page_end
 

Macro Definition Documentation

#define A0   4

Definition at line 43 of file page.c.

#define A1   5

Definition at line 44 of file page.c.

#define A2   6

Definition at line 45 of file page.c.

#define AT   2

Definition at line 42 of file page.c.

#define cache_line_mask ( )    (cache_line_size - 1)

Definition at line 89 of file page.c.

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

Definition at line 72 of file page.c.

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

Definition at line 73 of file page.c.

#define RA   31

Definition at line 51 of file page.c.

#define T0   8

Definition at line 46 of file page.c.

#define T1   9

Definition at line 47 of file page.c.

#define T2   10

Definition at line 48 of file page.c.

#define T3   11

Definition at line 49 of file page.c.

#define T9   25

Definition at line 50 of file page.c.

#define ZERO   0

Definition at line 41 of file page.c.

Enumeration Type Documentation

enum label_id
Enumerator:
label_clear_nopref 
label_clear_pref 
label_copy_nopref 
label_copy_pref_both 
label_copy_pref_store 
label_second_part 
label_leave 
label_vmalloc 
label_vmalloc_done 
label_tlbw_hazard_0 
label_split 
label_tlbl_goaround1 
label_tlbl_goaround2 
label_nopage_tlbl 
label_nopage_tlbs 
label_nopage_tlbm 
label_smp_pgtable_change 
label_r3000_write_probe_fail 
label_large_segbits_fault 

Definition at line 54 of file page.c.

Function Documentation

void __cpuinit build_clear_page ( void  )

Definition at line 252 of file page.c.

void __cpuinit build_copy_page ( void  )

Definition at line 394 of file page.c.

Variable Documentation

u32 __clear_page_end
u32 __clear_page_start
u32 __copy_page_end
u32 __copy_page_start