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

Go to the source code of this file.

Macros

#define ARCH_PFN_OFFSET   (CONFIG_PHY_RAM_BASE_ADDRESS >> PAGE_SHIFT)
 
#define MAP_NR(addr)   ((unsigned long)(addr) >> PAGE_SHIFT)
 
#define VM_DATA_DEFAULT_FLAGS
 

Macro Definition Documentation

#define ARCH_PFN_OFFSET   (CONFIG_PHY_RAM_BASE_ADDRESS >> PAGE_SHIFT)

Definition at line 10 of file page.h.

#define MAP_NR (   addr)    ((unsigned long)(addr) >> PAGE_SHIFT)

Definition at line 11 of file page.h.

#define VM_DATA_DEFAULT_FLAGS
Value:
(VM_READ | VM_WRITE | \
((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)

Definition at line 13 of file page.h.