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

Go to the source code of this file.

Macros

#define __UL(X)   ((unsigned long) (X))
 
#define PAGE_SHIFT   14
 
#define PAGE_SIZE   (1UL << PAGE_SHIFT)
 
#define PAGE_MASK   (~(PAGE_SIZE-1))
 
#define ARCH_DMA_MINALIGN   L1_CACHE_BYTES
 
#define ARCH_SLAB_MINALIGN   L1_CACHE_BYTES
 
#define PAGE_OFFSET   ((unsigned long) &__page_offset)
 
#define KERNEL_IO_START   __UL(0xe0000000)
 
#define BRK_BASE   __UL(2 * 1024 * 1024 + PAGE_SIZE)
 
#define STACK_TOP   __UL(2 * 1024 * 1024)
 
#define STACK_TOP_MAX   __UL(0xc0000000)
 
#define TASK_SIZE   __UL(0xFFFFFFFFUL)
 
#define TASK_UNMAPPED_BASE   __UL(TASK_SIZE / 3)
 

Macro Definition Documentation

#define __UL (   X)    ((unsigned long) (X))

Definition at line 16 of file mem-layout.h.

#define ARCH_DMA_MINALIGN   L1_CACHE_BYTES

Definition at line 38 of file mem-layout.h.

#define ARCH_SLAB_MINALIGN   L1_CACHE_BYTES

Definition at line 39 of file mem-layout.h.

#define BRK_BASE   __UL(2 * 1024 * 1024 + PAGE_SIZE)

Definition at line 68 of file mem-layout.h.

#define KERNEL_IO_START   __UL(0xe0000000)

Definition at line 61 of file mem-layout.h.

#define PAGE_MASK   (~(PAGE_SIZE-1))

Definition at line 32 of file mem-layout.h.

#define PAGE_OFFSET   ((unsigned long) &__page_offset)

Definition at line 45 of file mem-layout.h.

#define PAGE_SHIFT   14

Definition at line 24 of file mem-layout.h.

#define PAGE_SIZE   (1UL << PAGE_SHIFT)

Definition at line 27 of file mem-layout.h.

#define STACK_TOP   __UL(2 * 1024 * 1024)

Definition at line 69 of file mem-layout.h.

#define STACK_TOP_MAX   __UL(0xc0000000)

Definition at line 70 of file mem-layout.h.

#define TASK_SIZE   __UL(0xFFFFFFFFUL)

Definition at line 76 of file mem-layout.h.

#define TASK_UNMAPPED_BASE   __UL(TASK_SIZE / 3)

Definition at line 83 of file mem-layout.h.