Revision df32fd1c hw/ide/ahci.h

b/hw/ide/ahci.h
297 297
    uint32_t idp_index;     /* Current IDP index */
298 298
    int32_t ports;
299 299
    qemu_irq irq;
300
    DMAContext *dma;
300
    AddressSpace *as;
301 301
} AHCIState;
302 302

  
303 303
typedef struct AHCIPCIState {
......
338 338
    uint8_t reserved10;
339 339
} QEMU_PACKED NCQFrame;
340 340

  
341
void ahci_init(AHCIState *s, DeviceState *qdev, DMAContext *dma, int ports);
341
void ahci_init(AHCIState *s, DeviceState *qdev, AddressSpace *as, int ports);
342 342
void ahci_uninit(AHCIState *s);
343 343

  
344 344
void ahci_reset(AHCIState *s);

Also available in: Unified diff