diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-02-11 18:19:44 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-19 15:33:13 -0600 |
commit | ed487bb1d69040b9dac64a4fc076d8dd82b131d6 (patch) | |
tree | e5e39787b8d1f0257ae89e9a7313647f542e5f10 /hw/ide/internal.h | |
parent | 7b665b668aa92bf0bba696f085dff87539d95529 (diff) |
ide save/restore pio/atapi cmd transfer fields and io buffer
Save/restore information necessary to continue in progress PIO/ATAPI CMD
transfers.
This includes the IO buffer.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r-- | hw/ide/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h index 9945993655..027029ecec 100644 --- a/hw/ide/internal.h +++ b/hw/ide/internal.h @@ -419,6 +419,11 @@ struct IDEState { uint8_t *data_ptr; uint8_t *data_end; uint8_t *io_buffer; + /* PIO save/restore */ + int32_t io_buffer_total_len; + int cur_io_buffer_offset; + int cur_io_buffer_len; + uint8_t end_transfer_fn_idx; QEMUTimer *sector_write_timer; /* only used for win2k install hack */ uint32_t irq_count; /* counts IRQs when using win2k install hack */ /* CF-ATA extended error */ |