Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
book3s_32_mmu_host.c File Reference
#include <linux/kvm_host.h>
#include <asm/kvm_ppc.h>
#include <asm/kvm_book3s.h>
#include <asm/mmu-hash32.h>
#include <asm/machdep.h>
#include <asm/mmu_context.h>
#include <asm/hw_irq.h>

Go to the source code of this file.


#define dprintk_mmu(a,...)   do { } while(0)
#define dprintk_sr(a,...)   do { } while(0)
#define CTX_TO_VSID(c, id)   ((((c) * (897 * 16)) + (id * 0x111)) & 0xffffff)


void kvmppc_mmu_invalidate_pte (struct kvm_vcpu *vcpu, struct hpte_cache *pte)
int kvmppc_mmu_map_page (struct kvm_vcpu *vcpu, struct kvmppc_pte *orig_pte)
int kvmppc_mmu_map_segment (struct kvm_vcpu *vcpu, ulong eaddr)
void kvmppc_mmu_flush_segments (struct kvm_vcpu *vcpu)
void kvmppc_mmu_destroy (struct kvm_vcpu *vcpu)
int kvmppc_mmu_init (struct kvm_vcpu *vcpu)


char etext []

Macro Definition Documentation

#define CTX_TO_VSID (   c,
)    ((((c) * (897 * 16)) + (id * 0x111)) & 0xffffff)

Definition at line 355 of file book3s_32_mmu_host.c.

#define dprintk_mmu (   a,
)    do { } while(0)

Definition at line 36 of file book3s_32_mmu_host.c.

#define dprintk_sr (   a,
)    do { } while(0)

Definition at line 42 of file book3s_32_mmu_host.c.

Function Documentation

void kvmppc_mmu_destroy ( struct kvm_vcpu vcpu)

Definition at line 343 of file book3s_32_mmu_host.c.

void kvmppc_mmu_flush_segments ( struct kvm_vcpu vcpu)

Definition at line 331 of file book3s_32_mmu_host.c.

int kvmppc_mmu_init ( struct kvm_vcpu vcpu)

Definition at line 357 of file book3s_32_mmu_host.c.

void kvmppc_mmu_invalidate_pte ( struct kvm_vcpu vcpu,
struct hpte_cache pte 

Definition at line 60 of file book3s_32_mmu_host.c.

int kvmppc_mmu_map_page ( struct kvm_vcpu vcpu,
struct kvmppc_pte orig_pte 

Definition at line 141 of file book3s_32_mmu_host.c.

int kvmppc_mmu_map_segment ( struct kvm_vcpu vcpu,
ulong  eaddr 

Definition at line 300 of file book3s_32_mmu_host.c.

Variable Documentation

char etext[]