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/module.h>
#include <linux/mm.h>
#include <linux/bootmem.h>
#include <linux/gfp.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/initrd.h>
#include <linux/swap.h>
#include <linux/unistd.h>
#include <linux/nodemask.h>
#include <linux/pagemap.h>
#include <asm/pgalloc.h>
#include <asm/pgtable.h>
#include <asm/tlb.h>
#include <asm/pdc_chassis.h>
#include <asm/mmzone.h>
#include <asm/sections.h>

Go to the source code of this file.


#define MAX_MEM   (3584U*1024U*1024U)
#define MAX_GAP   (0x40000000UL >> PAGE_SHIFT)
#define PDC_CONSOLE_IO_IODC_SIZE   32768
#define VM_MAP_OFFSET   (32*1024)
#define SET_MAP_OFFSET(x)
#define NR_SPACE_IDS   32768
#define SID_ARRAY_SIZE   (NR_SPACE_IDS / (8 * sizeof(long)))


pgd_t swapper_pg_dir[PTRS_PER_PGD__attribute__ ((__section__(".data..vm0.pgd"), aligned(PAGE_SIZE)))
pte_t pg0[PT_INITIAL *PTRS_PER_PTE__attribute__ ((__section__(".data..vm0.pte"), aligned(PAGE_SIZE)))
void free_initmem (void)
 EXPORT_SYMBOL (parisc_vmalloc_start)
void __init mem_init (void)
 EXPORT_SYMBOL (empty_zero_page)
void show_mem (unsigned int filter)
void __init paging_init (void)
unsigned long alloc_sid (void)
void free_sid (unsigned long spaceid)
void flush_tlb_all (void)


int data_start

Macro Definition Documentation


Definition at line 578 of file init.c.

#define MAX_GAP   (0x40000000UL >> PAGE_SHIFT)

Definition at line 114 of file init.c.

#define MAX_MEM   (3584U*1024U*1024U)

Definition at line 82 of file init.c.

#define NR_SPACE_IDS   32768

Definition at line 948 of file init.c.

#define PDC_CONSOLE_IO_IODC_SIZE   32768

Definition at line 952 of file init.c.

#define SET_MAP_OFFSET (   x)
((void *)(((unsigned long)(x) + VM_MAP_OFFSET) \
& ~(VM_MAP_OFFSET-1)))

Definition at line 581 of file init.c.

#define SID_ARRAY_SIZE   (NR_SPACE_IDS / (8 * sizeof(long)))

Definition at line 953 of file init.c.

#define VM_MAP_OFFSET   (32*1024)

Definition at line 580 of file init.c.

Function Documentation

pgd_t swapper_pg_dir [PTRS_PER_PGD] __attribute__ ( (__section__(".data..vm0.pgd"), aligned(PAGE_SIZE))  )
pte_t pg0 [PT_INITIAL * PTRS_PER_PTE] __attribute__ ( (__section__(".data..vm0.pte"), aligned(PAGE_SIZE))  )
unsigned long alloc_sid ( void  )

Definition at line 963 of file init.c.

EXPORT_SYMBOL ( parisc_vmalloc_start  )
EXPORT_SYMBOL ( empty_zero_page  )
void flush_tlb_all ( void  )

flush_tlb_all - Completely invalidate TLBs on all CPUs

Definition at line 1098 of file init.c.

void free_initmem ( void  )

Definition at line 506 of file init.c.

void free_sid ( unsigned long  spaceid)

Definition at line 989 of file init.c.

void __init mem_init ( void  )

Definition at line 591 of file init.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 896 of file init.c.

void show_mem ( unsigned int  filter)

Definition at line 693 of file init.c.

Variable Documentation

int data_start