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

Go to the source code of this file.

Macros

#define PIB_LOW_HALF(ofst)   !(ofst & (1 << 20))
 
#define PIB_OFST_INTA   0x1E0000
 
#define PIB_OFST_XTP   0x1E0008
 
#define SL_INTEGER   0 /* store/load interger*/
 
#define SL_FLOATING   1 /* store/load floating*/
 

Functions

void lsapic_write (struct kvm_vcpu *v, unsigned long addr, unsigned long length, unsigned long val)
 
unsigned long lsapic_read (struct kvm_vcpu *v, unsigned long addr, unsigned long length)
 
void emulate_io_inst (struct kvm_vcpu *vcpu, u64 padr, u64 ma)
 

Macro Definition Documentation

#define PIB_LOW_HALF (   ofst)    !(ofst & (1 << 20))

Definition at line 38 of file mmio.c.

#define PIB_OFST_INTA   0x1E0000

Definition at line 39 of file mmio.c.

#define PIB_OFST_XTP   0x1E0008

Definition at line 40 of file mmio.c.

#define SL_FLOATING   1 /* store/load floating*/

Definition at line 166 of file mmio.c.

#define SL_INTEGER   0 /* store/load interger*/

Definition at line 165 of file mmio.c.

Function Documentation

void emulate_io_inst ( struct kvm_vcpu vcpu,
u64  padr,
u64  ma 
)

Definition at line 168 of file mmio.c.

unsigned long lsapic_read ( struct kvm_vcpu v,
unsigned long  addr,
unsigned long  length 
)

Definition at line 93 of file mmio.c.

void lsapic_write ( struct kvm_vcpu v,
unsigned long  addr,
unsigned long  length,
unsigned long  val 
)

Definition at line 62 of file mmio.c.