#include <linux/export.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/gfp.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/stddef.h>
#include <linux/init.h>
#include <linux/bootmem.h>
#include <linux/highmem.h>
#include <linux/initrd.h>
#include <linux/pagemap.h>
#include <linux/suspend.h>
#include <linux/memblock.h>
#include <linux/hugetlb.h>
#include <linux/slab.h>
#include <asm/pgalloc.h>
#include <asm/prom.h>
#include <asm/io.h>
#include <asm/mmu_context.h>
#include <asm/pgtable.h>
#include <asm/mmu.h>
#include <asm/smp.h>
#include <asm/machdep.h>
#include <asm/btext.h>
#include <asm/tlb.h>
#include <asm/sections.h>
#include <asm/sparsemem.h>
#include <asm/vdso.h>
#include <asm/fixmap.h>
#include <asm/swiotlb.h>
#include <asm/rtas.h>
#include "mmu_decl.h"
Go to the source code of this file.
|
int | page_is_ram (unsigned long pfn) |
|
pgprot_t | phys_mem_access_prot (struct file *file, unsigned long pfn, unsigned long size, pgprot_t vma_prot) |
|
| EXPORT_SYMBOL (phys_mem_access_prot) |
|
int | walk_system_ram_range (unsigned long start_pfn, unsigned long nr_pages, void *arg, int(*func)(unsigned long, unsigned long, void *)) |
|
| EXPORT_SYMBOL_GPL (walk_system_ram_range) |
|
void __init | do_init_bootmem (void) |
|
void __init | paging_init (void) |
|
void __init | mem_init (void) |
|
void | free_initmem (void) |
|
void | flush_dcache_page (struct page *page) |
|
| EXPORT_SYMBOL (flush_dcache_page) |
|
void | flush_dcache_icache_page (struct page *page) |
|
| EXPORT_SYMBOL (flush_dcache_icache_page) |
|
void | clear_user_page (void *page, unsigned long vaddr, struct page *pg) |
|
| EXPORT_SYMBOL (clear_user_page) |
|
void | copy_user_page (void *vto, void *vfrom, unsigned long vaddr, struct page *pg) |
|
void | flush_icache_user_range (struct vm_area_struct *vma, struct page *page, unsigned long addr, int len) |
|
| EXPORT_SYMBOL (flush_icache_user_range) |
|
void | update_mmu_cache (struct vm_area_struct *vma, unsigned long address, pte_t *ptep) |
|
| subsys_initcall (add_system_ram_resources) |
|
#define CPU_FTR_COHERENT_ICACHE 0 /* XXX for now */ |
Definition at line 59 of file mem.c.
#define CPU_FTR_NOEXECUTE 0 |
Definition at line 60 of file mem.c.
int page_is_ram |
( |
unsigned long |
pfn | ) |
|
Definition at line 81 of file mem.c.
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 253 of file mem.c.
Definition at line 96 of file mem.c.
subsys_initcall |
( |
add_system_ram_resources |
| ) |
|
Definition at line 63 of file mem.c.
Definition at line 64 of file mem.c.
Definition at line 65 of file mem.c.