X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fide-types.h;h=f881157214cc02ae7490359813f837df86dc7c4d;hb=6fe0528310bec884ed00c8d97b45d18120a32e3f;hp=5509a96152144a9ffa008d187dcf30b080cad15e;hpb=bb102eef875adf3e667e4e3ffe7e6412b167b14e;p=palacios.git diff --git a/palacios/src/devices/ide-types.h b/palacios/src/devices/ide-types.h index 5509a96..f881157 100644 --- a/palacios/src/devices/ide-types.h +++ b/palacios/src/devices/ide-types.h @@ -73,12 +73,12 @@ struct ide_status_reg { } __attribute__((packed)); -struct ide_drive_ctrl_reg { +struct ide_ctrl_reg { union { uint8_t val; struct { uint_t rsvd0 : 1; - uint_t irq_enable : 1; + uint_t irq_disable : 1; uint_t soft_reset : 1; uint_t rsvd1 : 5; } __attribute__((packed)); @@ -86,6 +86,12 @@ struct ide_drive_ctrl_reg { } __attribute__((packed)); +struct ide_features_reg { + union { + uint8_t val; + } __attribute__((packed)); +} __attribute__((packed)); + typedef enum { READ_SECT_W_RETRY = 0x20,