Linux Kernel
3.7.1
|
#include <linux/mm.h>
#include <linux/init.h>
#include <asm/page.h>
#include <asm/tlb.h>
#include <asm/mmu_context.h>
Go to the source code of this file.
Functions | |
int __cpuinit | sh64_tlb_init (void) |
unsigned long long | sh64_next_free_dtlb_entry (void) |
unsigned long long | sh64_get_wired_dtlb_entry (void) |
int | sh64_put_wired_dtlb_entry (unsigned long long entry) |
void | sh64_setup_tlb_slot (unsigned long long config_addr, unsigned long eaddr, unsigned long asid, unsigned long paddr) |
void | sh64_teardown_tlb_slot (unsigned long long config_addr) __attribute__((alias("__flush_tlb_slot"))) |
void | tlb_wire_entry (struct vm_area_struct *vma, unsigned long addr, pte_t pte) |
void | tlb_unwire_entry (void) |
void | __update_tlb (struct vm_area_struct *vma, unsigned long address, pte_t pte) |
void __update_tlb | ( | struct vm_area_struct * | vma, |
unsigned long | address, | ||
pte_t | pte | ||
) |
void sh64_setup_tlb_slot | ( | unsigned long long | config_addr, |
unsigned long | eaddr, | ||
unsigned long | asid, | ||
unsigned long | paddr | ||
) |
sh64_setup_tlb_slot - Load up a translation in a wired slot.
: Address of TLB slot. : Virtual address. : Address Space Identifier. : Physical address.
Load up a virtual<->physical translation for <-> in the pre-allocated TLB slot (see sh64_get_wired_dtlb_entry).
sh64_teardown_tlb_slot - Teardown a translation.
: Address of TLB slot.
Teardown any existing mapping in the TLB slot .