Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions | Variables
page_64.h File Reference
#include <asm/cache.h>
#include <asm-generic/getorder.h>

Go to the source code of this file.

Macros

#define HW_PAGE_SHIFT   12
 
#define HW_PAGE_SIZE   (ASM_CONST(1) << HW_PAGE_SHIFT)
 
#define HW_PAGE_MASK   (~(HW_PAGE_SIZE-1))
 
#define PAGE_FACTOR   (PAGE_SHIFT - HW_PAGE_SHIFT)
 
#define SID_SHIFT   28
 
#define SID_MASK   ASM_CONST(0xfffffffff)
 
#define ESID_MASK   0xfffffffff0000000UL
 
#define GET_ESID(x)   (((x) >> SID_SHIFT) & SID_MASK)
 
#define SID_SHIFT_1T   40
 
#define SID_MASK_1T   0xffffffUL
 
#define ESID_MASK_1T   0xffffff0000000000UL
 
#define GET_ESID_1T(x)   (((x) >> SID_SHIFT_1T) & SID_MASK_1T)
 
#define slice_init()
 
#define get_slice_psize(mm, addr)   MMU_PAGE_4K
 
#define slice_set_user_psize(mm, psize)   do { BUG(); } while(0)
 
#define slice_set_range_psize(mm, start, len, psize)   slice_set_user_psize((mm), (psize))
 
#define slice_mm_new_context(mm)   1
 
#define VM_DATA_DEFAULT_FLAGS
 
#define VM_STACK_DEFAULT_FLAGS32
 
#define VM_STACK_DEFAULT_FLAGS64
 
#define VM_STACK_DEFAULT_FLAGS
 

Typedefs

typedef unsigned long pte_basic_t
 

Functions

void copy_page (void *to, void *from)
 

Variables

u64 ppc64_pft_size
 

Macro Definition Documentation

#define ESID_MASK   0xfffffffff0000000UL

Definition at line 31 of file page_64.h.

#define ESID_MASK_1T   0xffffff0000000000UL

Definition at line 37 of file page_64.h.

#define GET_ESID (   x)    (((x) >> SID_SHIFT) & SID_MASK)

Definition at line 32 of file page_64.h.

#define GET_ESID_1T (   x)    (((x) >> SID_SHIFT_1T) & SID_MASK_1T)

Definition at line 38 of file page_64.h.

#define get_slice_psize (   mm,
  addr 
)    MMU_PAGE_4K

Definition at line 129 of file page_64.h.

#define HW_PAGE_MASK   (~(HW_PAGE_SIZE-1))

Definition at line 20 of file page_64.h.

#define HW_PAGE_SHIFT   12

Definition at line 18 of file page_64.h.

#define HW_PAGE_SIZE   (ASM_CONST(1) << HW_PAGE_SHIFT)

Definition at line 19 of file page_64.h.

#define PAGE_FACTOR   (PAGE_SHIFT - HW_PAGE_SHIFT)

Definition at line 26 of file page_64.h.

#define SID_MASK   ASM_CONST(0xfffffffff)

Definition at line 30 of file page_64.h.

#define SID_MASK_1T   0xffffffUL

Definition at line 36 of file page_64.h.

#define SID_SHIFT   28

Definition at line 29 of file page_64.h.

#define SID_SHIFT_1T   40

Definition at line 35 of file page_64.h.

#define slice_init ( )

Definition at line 117 of file page_64.h.

#define slice_mm_new_context (   mm)    1

Definition at line 136 of file page_64.h.

#define slice_set_range_psize (   mm,
  start,
  len,
  psize 
)    slice_set_user_psize((mm), (psize))

Definition at line 134 of file page_64.h.

#define slice_set_user_psize (   mm,
  psize 
)    do { BUG(); } while(0)

Definition at line 131 of file page_64.h.

#define VM_DATA_DEFAULT_FLAGS
Value:
VM_DATA_DEFAULT_FLAGS32 : VM_DATA_DEFAULT_FLAGS64)

Definition at line 147 of file page_64.h.

#define VM_STACK_DEFAULT_FLAGS
Value:
VM_STACK_DEFAULT_FLAGS32 : VM_STACK_DEFAULT_FLAGS64)

Definition at line 163 of file page_64.h.

#define VM_STACK_DEFAULT_FLAGS32
Value:
(VM_READ | VM_WRITE | VM_EXEC | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)

Definition at line 157 of file page_64.h.

#define VM_STACK_DEFAULT_FLAGS64
Value:
(VM_READ | VM_WRITE | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)

Definition at line 160 of file page_64.h.

Typedef Documentation

typedef unsigned long pte_basic_t

Definition at line 43 of file page_64.h.

Function Documentation

void copy_page ( void to,
void from 
)

Definition at line 22 of file nommu.c.

Variable Documentation

u64 ppc64_pft_size

Definition at line 80 of file setup_64.c.