|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/mm.h>#include <linux/init.h>#include <linux/highmem.h>#include <linux/memblock.h>#include <asm/prom.h>#include <asm/mmu.h>#include <asm/machdep.h>#include "mmu_decl.h"Go to the source code of this file.
Data Structures | |
| struct | batrange |
Macros | |
| #define | LG_HPTEG_SIZE 6 /* 64 bytes per HPTEG */ |
| #define | SDR1_LOW_BITS ((n_hpteg - 1) >> 10) |
| #define | MIN_N_HPTEG 1024 /* min 64kB hash table */ |
Functions | |
| phys_addr_t | v_mapped_by_bats (unsigned long va) |
| unsigned long | p_mapped_by_bats (phys_addr_t pa) |
| unsigned long __init | mmu_mapin_ram (unsigned long top) |
| void __init | setbat (int index, unsigned long virt, phys_addr_t phys, unsigned int size, int flags) |
| void | hash_preload (struct mm_struct *mm, unsigned long ea, unsigned long access, unsigned long trap) |
| void __init | MMU_init_hw (void) |
| void | setup_initial_memory_limit (phys_addr_t first_memblock_base, phys_addr_t first_memblock_size) |
Variables | |
| struct hash_pte * | Hash |
| struct hash_pte * | Hash_end |
| unsigned long | Hash_size |
| unsigned long | Hash_mask |
| unsigned long | _SDR1 |
| struct ppc_bat | BATS [8][2] |
| struct batrange | bat_addrs [8] |
| #define MIN_N_HPTEG 1024 /* min 64kB hash table */ |
| #define SDR1_LOW_BITS ((n_hpteg - 1) >> 10) |
| void hash_preload | ( | struct mm_struct * | mm, |
| unsigned long | ea, | ||
| unsigned long | access, | ||
| unsigned long | trap | ||
| ) |
Definition at line 164 of file ppc_mmu_32.c.
Definition at line 179 of file ppc_mmu_32.c.
Definition at line 75 of file ppc_mmu_32.c.
| unsigned long p_mapped_by_bats | ( | phys_addr_t | pa | ) |
Definition at line 64 of file ppc_mmu_32.c.
| void __init setbat | ( | int | index, |
| unsigned long | virt, | ||
| phys_addr_t | phys, | ||
| unsigned int | size, | ||
| int | flags | ||
| ) |
Definition at line 115 of file ppc_mmu_32.c.
| void setup_initial_memory_limit | ( | phys_addr_t | first_memblock_base, |
| phys_addr_t | first_memblock_size | ||
| ) |
Definition at line 275 of file ppc_mmu_32.c.
| phys_addr_t v_mapped_by_bats | ( | unsigned long | va | ) |
Definition at line 52 of file ppc_mmu_32.c.
| unsigned long _SDR1 |
Definition at line 39 of file ppc_mmu_32.c.
Definition at line 41 of file ppc_mmu_32.c.
Definition at line 37 of file ppc_mmu_32.c.
Definition at line 37 of file ppc_mmu_32.c.
| unsigned long Hash_mask |
Definition at line 38 of file ppc_mmu_32.c.
| unsigned long Hash_size |
Definition at line 38 of file ppc_mmu_32.c.
1.8.2