Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
init.c File Reference
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/errno.h>
#include <linux/swap.h>
#include <linux/init.h>
#include <linux/bootmem.h>
#include <linux/mman.h>
#include <linux/nodemask.h>
#include <linux/initrd.h>
#include <linux/gfp.h>
#include <linux/memblock.h>
#include <linux/sort.h>
#include <linux/of_fdt.h>
#include <asm/prom.h>
#include <asm/sections.h>
#include <asm/setup.h>
#include <asm/sizes.h>
#include <asm/tlb.h>
#include "mm.h"

Go to the source code of this file.

Macros

#define MAX_DMA32_PFN   ((4UL * 1024 * 1024 * 1024) >> PAGE_SHIFT)
 
#define MLK(b, t)   b, t, ((t) - (b)) >> 10
 
#define MLM(b, t)   b, t, ((t) - (b)) >> 20
 
#define MLK_ROUNDUP(b, t)   b, t, DIV_ROUND_UP(((t) - (b)), SZ_1K)
 

Functions

void __init early_init_dt_setup_initrd_arch (unsigned long start, unsigned long end)
 
 early_param ("initrd", early_initrd)
 
void __init arm64_memblock_init (void)
 
void __init bootmem_init (void)
 
void __init mem_init (void)
 
void free_initmem (void)
 

Variables

phys_addr_t memstart_addr __read_mostly = 0
 

Macro Definition Documentation

#define MAX_DMA32_PFN   ((4UL * 1024 * 1024 * 1024) >> PAGE_SHIFT)

Definition at line 70 of file init.c.

#define MLK (   b,
  t 
)    b, t, ((t) - (b)) >> 10
#define MLK_ROUNDUP (   b,
  t 
)    b, t, DIV_ROUND_UP(((t) - (b)), SZ_1K)
#define MLM (   b,
  t 
)    b, t, ((t) - (b)) >> 20

Function Documentation

void __init arm64_memblock_init ( void  )

Definition at line 134 of file init.c.

void __init bootmem_init ( void  )

Definition at line 180 of file init.c.

void __init early_init_dt_setup_initrd_arch ( unsigned long  start,
unsigned long  end 
)

Definition at line 47 of file init.c.

early_param ( "initrd"  ,
early_initrd   
)
void free_initmem ( void  )

Definition at line 405 of file init.c.

void __init mem_init ( void  )

Definition at line 299 of file init.c.

Variable Documentation

phys_addr_t memstart_addr __read_mostly = 0

Definition at line 45 of file init.c.