Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
ip27-memory.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/memblock.h>
#include <linux/mm.h>
#include <linux/mmzone.h>
#include <linux/module.h>
#include <linux/nodemask.h>
#include <linux/swap.h>
#include <linux/bootmem.h>
#include <linux/pfn.h>
#include <linux/highmem.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
#include <asm/sections.h>
#include <asm/sn/arch.h>
#include <asm/sn/hub.h>
#include <asm/sn/klconfig.h>
#include <asm/sn/sn_private.h>

Go to the source code of this file.

Macros

#define SLOT_PFNSHIFT   (SLOT_SHIFT - PAGE_SHIFT)
 
#define PFN_NASIDSHFT   (NASID_SHFT - PAGE_SHIFT)
 
#define rou_rflag   rou_flags
 

Functions

 EXPORT_SYMBOL (__node_data)
 
void __init prom_meminit (void)
 
void __init prom_free_prom_memory (void)
 
unsigned long setup_zero_pages (void)
 
void __init paging_init (void)
 
void __init mem_init (void)
 

Variables

struct node_data__node_data [MAX_COMPACT_NODES]
 
unsigned char __node_distances [MAX_COMPACT_NODES][MAX_COMPACT_NODES]
 

Macro Definition Documentation

#define PFN_NASIDSHFT   (NASID_SHFT - PAGE_SHIFT)

Definition at line 35 of file ip27-memory.c.

#define rou_rflag   rou_flags

Definition at line 69 of file ip27-memory.c.

#define SLOT_PFNSHIFT   (SLOT_SHIFT - PAGE_SHIFT)

Definition at line 34 of file ip27-memory.c.

Function Documentation

EXPORT_SYMBOL ( __node_data  )
void __init mem_init ( void  )

Definition at line 481 of file ip27-memory.c.

void __init paging_init ( void  )

paging_init - setup page tables

paging_init() sets up the page tables for each node of the system and frees the bootmem allocator memory for general use.

Definition at line 462 of file ip27-memory.c.

void __init prom_free_prom_memory ( void  )

Definition at line 455 of file ip27-memory.c.

void __init prom_meminit ( void  )

Definition at line 439 of file ip27-memory.c.

unsigned long setup_zero_pages ( void  )

Definition at line 80 of file init.c.

Variable Documentation

Definition at line 37 of file ip27-memory.c.

unsigned char __node_distances[MAX_COMPACT_NODES][MAX_COMPACT_NODES]

Definition at line 109 of file ip27-memory.c.