mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
ide: move BM_STATUS bits to pci.[ch]
They are not used by AHCI, and should not be even available there. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
0e7ce54cf5
commit
7e2648df86
3 changed files with 11 additions and 11 deletions
|
@ -3,6 +3,13 @@
|
|||
|
||||
#include <hw/ide/internal.h>
|
||||
|
||||
#define BM_STATUS_DMAING 0x01
|
||||
#define BM_STATUS_ERROR 0x02
|
||||
#define BM_STATUS_INT 0x04
|
||||
|
||||
#define BM_CMD_START 0x01
|
||||
#define BM_CMD_READ 0x08
|
||||
|
||||
typedef struct BMDMAState {
|
||||
IDEDMA dma;
|
||||
uint8_t cmd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue