diff options
| author | Aurelien Jarno <aurelien@aurel32.net> | 2011-04-27 16:26:18 +0200 |
|---|---|---|
| committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-04-27 16:26:18 +0200 |
| commit | aa348082d8e89d2ab021caadbcc97c93038fffb2 (patch) | |
| tree | 2925d93352e37255827b17b98aa8cee1a6a6a69f /hw/ide/internal.h | |
| parent | c6a0487b1fc29bc6047da0e484f79d4d627f9018 (diff) | |
| parent | df6e008a8814af9db872f1319b58784d87987c93 (diff) | |
| download | focaccia-qemu-aa348082d8e89d2ab021caadbcc97c93038fffb2.tar.gz focaccia-qemu-aa348082d8e89d2ab021caadbcc97c93038fffb2.zip | |
Merge branch 'for-anthony' of git://repo.or.cz/qemu/kevin
* 'for-anthony' of git://repo.or.cz/qemu/kevin: Remove obsolete 'enabled' variable from progress state Add dd-style SIGUSR1 progress reporting qed: Fix consistency check on 32-bit hosts ide/atapi: Introduce CHECK_READY flag for commands ide/atapi: Replace bdrv_get_geometry calls by s->nb_sectors ide/atapi: Use table instead of switch for commands ide/atapi: Factor commands out ide: Split atapi.c out Improve accuracy of block migration bandwidth calculation atapi: Add 'medium ready' to 'medium not ready' transition on cd change qemu-img: allow rebase to a NULL backing file when unsafe
Diffstat (limited to 'hw/ide/internal.h')
| -rw-r--r-- | hw/ide/internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h index ba7e9a8ee2..aa198b6b12 100644 --- a/hw/ide/internal.h +++ b/hw/ide/internal.h @@ -9,6 +9,7 @@ #include <hw/ide.h> #include "block_int.h" #include "iorange.h" +#include "dma.h" /* debug IDE devices */ //#define DEBUG_IDE @@ -570,6 +571,15 @@ void ide_sector_write(IDEState *s); void ide_sector_read(IDEState *s); void ide_flush_cache(IDEState *s); +void ide_transfer_start(IDEState *s, uint8_t *buf, int size, + EndTransferFunc *end_transfer_func); +void ide_transfer_stop(IDEState *s); +void ide_set_inactive(IDEState *s); + +/* hw/ide/atapi.c */ +void ide_atapi_cmd(IDEState *s); +void ide_atapi_cmd_reply_end(IDEState *s); + /* hw/ide/qdev.c */ void ide_bus_new(IDEBus *idebus, DeviceState *dev, int bus_id); IDEDevice *ide_create_drive(IDEBus *bus, int unit, DriveInfo *drive); |