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

Go to the source code of this file.

Macros

#define THREAD_SIZE_ORDER   1
 
#define THREAD_SIZE   (PAGE_SIZE << THREAD_SIZE_ORDER)
 
#define CURRENT_MASK   (~(THREAD_SIZE - 1))
 
#define EXCEPTION_STACK_ORDER   0
 
#define EXCEPTION_STKSZ   (PAGE_SIZE << EXCEPTION_STACK_ORDER)
 
#define DEBUG_STACK_ORDER   (EXCEPTION_STACK_ORDER + 1)
 
#define DEBUG_STKSZ   (PAGE_SIZE << DEBUG_STACK_ORDER)
 
#define IRQ_STACK_ORDER   2
 
#define IRQ_STACK_SIZE   (PAGE_SIZE << IRQ_STACK_ORDER)
 
#define STACKFAULT_STACK   1
 
#define DOUBLEFAULT_STACK   2
 
#define NMI_STACK   3
 
#define DEBUG_STACK   4
 
#define MCE_STACK   5
 
#define N_EXCEPTION_STACKS   5 /* hw limit: 7 */
 
#define PUD_PAGE_SIZE   (_AC(1, UL) << PUD_SHIFT)
 
#define PUD_PAGE_MASK   (~(PUD_PAGE_SIZE-1))
 
#define __PAGE_OFFSET   _AC(0xffff880000000000, UL)
 
#define __PHYSICAL_START
 
#define __START_KERNEL   (__START_KERNEL_map + __PHYSICAL_START)
 
#define __START_KERNEL_map   _AC(0xffffffff80000000, UL)
 
#define __PHYSICAL_MASK_SHIFT   46
 
#define __VIRTUAL_MASK_SHIFT   47
 
#define KERNEL_IMAGE_SIZE   (512 * 1024 * 1024)
 
#define KERNEL_IMAGE_START   _AC(0xffffffff80000000, UL)
 
#define __phys_reloc_hide(x)   (x)
 
#define vmemmap   ((struct page *)VMEMMAP_START)
 

Functions

void clear_page (void *page)
 
void copy_page (void *to, void *from)
 
unsigned long __phys_addr (unsigned long)
 
void init_extra_mapping_uc (unsigned long phys, unsigned long size)
 
void init_extra_mapping_wb (unsigned long phys, unsigned long size)
 

Variables

unsigned long max_pfn
 
unsigned long phys_base
 

Macro Definition Documentation

#define __PAGE_OFFSET   _AC(0xffff880000000000, UL)

Definition at line 33 of file page_64_types.h.

#define __phys_reloc_hide (   x)    (x)

Definition at line 62 of file page_64_types.h.

#define __PHYSICAL_MASK_SHIFT   46

Definition at line 43 of file page_64_types.h.

#define __PHYSICAL_START
Value:
((CONFIG_PHYSICAL_START + \
(CONFIG_PHYSICAL_ALIGN - 1)) & \
~(CONFIG_PHYSICAL_ALIGN - 1))

Definition at line 35 of file page_64_types.h.

#define __START_KERNEL   (__START_KERNEL_map + __PHYSICAL_START)

Definition at line 39 of file page_64_types.h.

#define __START_KERNEL_map   _AC(0xffffffff80000000, UL)

Definition at line 40 of file page_64_types.h.

#define __VIRTUAL_MASK_SHIFT   47

Definition at line 44 of file page_64_types.h.

#define CURRENT_MASK   (~(THREAD_SIZE - 1))

Definition at line 6 of file page_64_types.h.

#define DEBUG_STACK   4

Definition at line 20 of file page_64_types.h.

#define DEBUG_STACK_ORDER   (EXCEPTION_STACK_ORDER + 1)

Definition at line 11 of file page_64_types.h.

#define DEBUG_STKSZ   (PAGE_SIZE << DEBUG_STACK_ORDER)

Definition at line 12 of file page_64_types.h.

#define DOUBLEFAULT_STACK   2

Definition at line 18 of file page_64_types.h.

#define EXCEPTION_STACK_ORDER   0

Definition at line 8 of file page_64_types.h.

#define EXCEPTION_STKSZ   (PAGE_SIZE << EXCEPTION_STACK_ORDER)

Definition at line 9 of file page_64_types.h.

#define IRQ_STACK_ORDER   2

Definition at line 14 of file page_64_types.h.

#define IRQ_STACK_SIZE   (PAGE_SIZE << IRQ_STACK_ORDER)

Definition at line 15 of file page_64_types.h.

#define KERNEL_IMAGE_SIZE   (512 * 1024 * 1024)

Definition at line 50 of file page_64_types.h.

#define KERNEL_IMAGE_START   _AC(0xffffffff80000000, UL)

Definition at line 51 of file page_64_types.h.

#define MCE_STACK   5

Definition at line 21 of file page_64_types.h.

#define N_EXCEPTION_STACKS   5 /* hw limit: 7 */

Definition at line 22 of file page_64_types.h.

#define NMI_STACK   3

Definition at line 19 of file page_64_types.h.

#define PUD_PAGE_MASK   (~(PUD_PAGE_SIZE-1))

Definition at line 25 of file page_64_types.h.

#define PUD_PAGE_SIZE   (_AC(1, UL) << PUD_SHIFT)

Definition at line 24 of file page_64_types.h.

#define STACKFAULT_STACK   1

Definition at line 17 of file page_64_types.h.

#define THREAD_SIZE   (PAGE_SIZE << THREAD_SIZE_ORDER)

Definition at line 5 of file page_64_types.h.

#define THREAD_SIZE_ORDER   1

Definition at line 4 of file page_64_types.h.

#define vmemmap   ((struct page *)VMEMMAP_START)

Definition at line 64 of file page_64_types.h.

Function Documentation

unsigned long __phys_addr ( unsigned  long)
void clear_page ( void page)
void copy_page ( void to,
void from 
)

Definition at line 22 of file nommu.c.

void init_extra_mapping_uc ( unsigned long  phys,
unsigned long  size 
)

Definition at line 284 of file init_64.c.

void init_extra_mapping_wb ( unsigned long  phys,
unsigned long  size 
)

Definition at line 279 of file init_64.c.

Variable Documentation

unsigned long max_pfn

Definition at line 35 of file bootmem.c.

unsigned long phys_base

Definition at line 41 of file init_32.c.