]> git.proxmox.com Git - qemu.git/blobdiff - rwhandler.c
USB: add usb network redirection support
[qemu.git] / rwhandler.c
index 1f9b6db4bcaa765df85ccc7f1fb5fa30248f3881..bb2238ff1efa9bdd3061b5884269513b69b5b772 100644 (file)
@@ -35,14 +35,14 @@ static CPUReadMemoryFunc * const cpu_io_memory_simple_read[] = {
     &cpu_io_memory_simple_readl,
 };
 
-int cpu_register_io_memory_simple(struct ReadWriteHandler *handler)
+int cpu_register_io_memory_simple(struct ReadWriteHandler *handler, int endian)
 {
     if (!handler->read || !handler->write) {
         return -1;
     }
     return cpu_register_io_memory(cpu_io_memory_simple_read,
                                   cpu_io_memory_simple_write,
-                                  handler);
+                                  handler, endian);
 }
 
 RWHANDLER_WRITE(ioport_simple_writeb, 1, uint32_t);