Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
booke_emulate.c File Reference
#include <linux/kvm_host.h>
#include <asm/disassemble.h>
#include "booke.h"

Go to the source code of this file.

Macros

#define OP_19_XOP_RFI   50
 
#define OP_19_XOP_RFCI   51
 
#define OP_31_XOP_MFMSR   83
 
#define OP_31_XOP_WRTEE   131
 
#define OP_31_XOP_MTMSR   146
 
#define OP_31_XOP_WRTEEI   163
 

Functions

int kvmppc_booke_emulate_op (struct kvm_run *run, struct kvm_vcpu *vcpu, unsigned int inst, int *advance)
 
int kvmppc_booke_emulate_mtspr (struct kvm_vcpu *vcpu, int sprn, ulong spr_val)
 
int kvmppc_booke_emulate_mfspr (struct kvm_vcpu *vcpu, int sprn, ulong *spr_val)
 

Macro Definition Documentation

#define OP_19_XOP_RFCI   51

Definition at line 27 of file booke_emulate.c.

#define OP_19_XOP_RFI   50

Definition at line 26 of file booke_emulate.c.

#define OP_31_XOP_MFMSR   83

Definition at line 29 of file booke_emulate.c.

#define OP_31_XOP_MTMSR   146

Definition at line 31 of file booke_emulate.c.

#define OP_31_XOP_WRTEE   131

Definition at line 30 of file booke_emulate.c.

#define OP_31_XOP_WRTEEI   163

Definition at line 32 of file booke_emulate.c.

Function Documentation

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

Definition at line 240 of file booke_emulate.c.

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

Definition at line 118 of file booke_emulate.c.

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

Definition at line 46 of file booke_emulate.c.