Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/kvm.h>
#include <linux/kvm_host.h>
#include <linux/highmem.h>
#include <linux/log2.h>
#include <linux/uaccess.h>
#include <linux/sched.h>
#include <linux/rwsem.h>
#include <linux/vmalloc.h>
#include <linux/hugetlb.h>
#include <asm/kvm_ppc.h>
#include "e500.h"
#include "trace.h"
#include "timing.h"
Go to the source code of this file.
Macros | |
#define | to_htlb1_esel(esel) (host_tlb_params[1].entries - (esel) - 1) |
#define to_htlb1_esel | ( | esel | ) | (host_tlb_params[1].entries - (esel) - 1) |
Definition at line 37 of file e500_tlb.c.
int kvm_vcpu_ioctl_config_tlb | ( | struct kvm_vcpu * | vcpu, |
struct kvm_config_tlb * | cfg | ||
) |
Definition at line 1122 of file e500_tlb.c.
int kvm_vcpu_ioctl_dirty_tlb | ( | struct kvm_vcpu * | vcpu, |
struct kvm_dirty_tlb * | dirty | ||
) |
Definition at line 1247 of file e500_tlb.c.
int kvmppc_core_vcpu_translate | ( | struct kvm_vcpu * | vcpu, |
struct kvm_translation * | tr | ||
) |
Definition at line 953 of file e500_tlb.c.
int kvmppc_e500_emul_mt_mmucsr0 | ( | struct kvmppc_vcpu_e500 * | vcpu_e500, |
ulong | value | ||
) |
Definition at line 668 of file e500_tlb.c.
Definition at line 755 of file e500_tlb.c.
Definition at line 685 of file e500_tlb.c.
Definition at line 770 of file e500_tlb.c.
Definition at line 789 of file e500_tlb.c.
Definition at line 857 of file e500_tlb.c.
int kvmppc_e500_tlb_init | ( | struct kvmppc_vcpu_e500 * | vcpu_e500 | ) |
Definition at line 1256 of file e500_tlb.c.
void kvmppc_e500_tlb_uninit | ( | struct kvmppc_vcpu_e500 * | vcpu_e500 | ) |
Definition at line 1370 of file e500_tlb.c.
Definition at line 1092 of file e500_tlb.c.
Definition at line 1020 of file e500_tlb.c.
Definition at line 986 of file e500_tlb.c.
Definition at line 1000 of file e500_tlb.c.
Definition at line 979 of file e500_tlb.c.
Definition at line 993 of file e500_tlb.c.
kvmppc_mmu_map – create a host mapping for guest memory
If the guest wanted a larger page than the host supports, only the first host page is mapped here and the rest are demand faulted.
If the guest wanted a smaller page than the host page size, we map only the guest-size page (i.e. not a full host page mapping).
Caller must ensure that the specified guest TLB entry is safe to insert into the shadow TLB.
Definition at line 1024 of file e500_tlb.c.
Definition at line 1007 of file e500_tlb.c.