Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mcfmmu.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/bootmem.h>
#include <asm/setup.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/mmu_context.h>
#include <asm/mcf_pgalloc.h>
#include <asm/tlbflush.h>

Go to the source code of this file.


#define KMAPAREA(x)   ((x >= VMALLOC_START) && (x < KMAP_END))


void free_initmem (void)
void __init paging_init (void)
int cf_tlb_miss (struct pt_regs *regs, int write, int dtlb, int extension_word)
void __init mmu_context_init (void)
void steal_context (void)


mm_context_t next_mmu_context
unsigned long context_map [LAST_CONTEXT/BITS_PER_LONG+1]
atomic_t nr_free_contexts
struct mm_structcontext_mm [LAST_CONTEXT+1]
unsigned long num_pages

Macro Definition Documentation

#define KMAPAREA (   x)    ((x >= VMALLOC_START) && (x < KMAP_END))

Definition at line 24 of file mcfmmu.c.

Function Documentation

int cf_tlb_miss ( struct pt_regs regs,
int  write,
int  dtlb,
int  extension_word 

Definition at line 88 of file mcfmmu.c.

void free_initmem ( void  )

Definition at line 32 of file mcfmmu.c.

void __init mmu_context_init ( void  )

Definition at line 161 of file mcfmmu.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 39 of file mcfmmu.c.

void steal_context ( void  )

Definition at line 186 of file mcfmmu.c.

Variable Documentation

unsigned long context_map[LAST_CONTEXT/BITS_PER_LONG+1]

Definition at line 27 of file mcfmmu.c.

struct mm_struct* context_mm[LAST_CONTEXT+1]

Definition at line 29 of file mcfmmu.c.

mm_context_t next_mmu_context

Definition at line 26 of file mcfmmu.c.

atomic_t nr_free_contexts

Definition at line 28 of file mcfmmu.c.

unsigned long num_pages

Definition at line 46 of file config.c.