Linux Kernel
3.7.1
|
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/ptrace.h>
#include <linux/mman.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/stddef.h>
#include <linux/vmalloc.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/highmem.h>
#include <linux/memblock.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/uaccess.h>
#include <asm/smp.h>
#include <asm/machdep.h>
#include <asm/setup.h>
#include "mmu_decl.h"
Go to the source code of this file.
Data Structures | |
struct | tlbcamrange |
Macros | |
#define | NUM_TLBCAMS (64) |
Functions | |
unsigned long | tlbcam_sz (int idx) |
phys_addr_t | v_mapped_by_tlbcam (unsigned long va) |
unsigned long | p_mapped_by_tlbcam (phys_addr_t pa) |
unsigned long | calc_cam_sz (unsigned long ram, unsigned long virt, phys_addr_t phys) |
unsigned long | map_mem_in_cams (unsigned long ram, int max_cam_idx) |
Variables | |
unsigned int | tlbcam_index |
struct tlbcam | TLBCAM [NUM_TLBCAMS] |
struct tlbcamrange | tlbcam_addrs [NUM_TLBCAMS] |
#define NUM_TLBCAMS (64) |
Definition at line 60 of file fsl_booke_mmu.c.
unsigned long calc_cam_sz | ( | unsigned long | ram, |
unsigned long | virt, | ||
phys_addr_t | phys | ||
) |
Definition at line 149 of file fsl_booke_mmu.c.
Definition at line 174 of file fsl_booke_mmu.c.
unsigned long p_mapped_by_tlbcam | ( | phys_addr_t | pa | ) |
Definition at line 91 of file fsl_booke_mmu.c.
Definition at line 71 of file fsl_booke_mmu.c.
phys_addr_t v_mapped_by_tlbcam | ( | unsigned long | va | ) |
Definition at line 79 of file fsl_booke_mmu.c.
struct tlbcam TLBCAM[NUM_TLBCAMS] |
Definition at line 61 of file fsl_booke_mmu.c.
struct tlbcamrange tlbcam_addrs[NUM_TLBCAMS] |
unsigned int tlbcam_index |
Definition at line 58 of file fsl_booke_mmu.c.