Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
44x_emulate.c File Reference
#include <asm/kvm_ppc.h>
#include <asm/dcr.h>
#include <asm/dcr-regs.h>
#include <asm/disassemble.h>
#include <asm/kvm_44x.h>
#include "timing.h"
#include "booke.h"
#include "44x_tlb.h"

Go to the source code of this file.

Macros

#define XOP_MFDCR   323
 
#define XOP_MTDCR   451
 
#define XOP_TLBSX   914
 
#define XOP_ICCCI   966
 
#define XOP_TLBWE   978
 

Functions

int kvmppc_core_emulate_op (struct kvm_run *run, struct kvm_vcpu *vcpu, unsigned int inst, int *advance)
 
int kvmppc_core_emulate_mtspr (struct kvm_vcpu *vcpu, int sprn, ulong spr_val)
 
int kvmppc_core_emulate_mfspr (struct kvm_vcpu *vcpu, int sprn, ulong *spr_val)
 

Macro Definition Documentation

#define XOP_ICCCI   966

Definition at line 33 of file 44x_emulate.c.

#define XOP_MFDCR   323

Definition at line 30 of file 44x_emulate.c.

#define XOP_MTDCR   451

Definition at line 31 of file 44x_emulate.c.

#define XOP_TLBSX   914

Definition at line 32 of file 44x_emulate.c.

#define XOP_TLBWE   978

Definition at line 34 of file 44x_emulate.c.

Function Documentation

int kvmppc_core_emulate_mfspr ( struct kvm_vcpu vcpu,
int  sprn,
ulong spr_val 
)

Definition at line 151 of file 44x_emulate.c.

int kvmppc_core_emulate_mtspr ( struct kvm_vcpu vcpu,
int  sprn,
ulong  spr_val 
)

Definition at line 131 of file 44x_emulate.c.

int kvmppc_core_emulate_op ( struct kvm_run run,
struct kvm_vcpu vcpu,
unsigned int  inst,
int advance 
)

Definition at line 36 of file 44x_emulate.c.