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

Go to the source code of this file.

Macros

#define XOP_MSGSND   206
 
#define XOP_MSGCLR   238
 
#define XOP_TLBIVAX   786
 
#define XOP_TLBSX   914
 
#define XOP_TLBRE   946
 
#define XOP_TLBWE   978
 
#define XOP_TLBILX   18
 

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_MSGCLR   238

Definition at line 23 of file e500_emulate.c.

#define XOP_MSGSND   206

Definition at line 22 of file e500_emulate.c.

#define XOP_TLBILX   18

Definition at line 28 of file e500_emulate.c.

#define XOP_TLBIVAX   786

Definition at line 24 of file e500_emulate.c.

#define XOP_TLBRE   946

Definition at line 26 of file e500_emulate.c.

#define XOP_TLBSX   914

Definition at line 25 of file e500_emulate.c.

#define XOP_TLBWE   978

Definition at line 27 of file e500_emulate.c.

Function Documentation

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

Definition at line 234 of file e500_emulate.c.

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

Definition at line 143 of file e500_emulate.c.

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

Definition at line 85 of file e500_emulate.c.