>+static inline void kvm_iodevice_read(struct kvm_io_device *dev, >+ gpa_t addr, >+ int len, >+ void *val) >+{ >+ dev->read(dev, addr, len, val); >+} >+ >+static inline void kvm_iodevice_write(struct kvm_io_device *dev, >+ gpa_t addr, >+ int len, >+ const void *val) >+{ >+ dev->write(dev, addr, len, val); >+} >+ >+static inline int kvm_iodevice_inrange(struct kvm_io_device *dev, gpa_t >addr) >+{ >+ return dev->in_range(dev, addr); >+}
What's the motivation of the above wrappers? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel