X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fide-types.h;h=4dbdc1da2d73bb02b9a0803bdc1f4906cc18804c;hb=262421e0f445e5427698043eb5b3309f9768a1f2;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..4dbdc1d 100644 --- a/palacios/src/devices/ide-types.h +++ b/palacios/src/devices/ide-types.h @@ -73,7 +73,7 @@ struct ide_status_reg { } __attribute__((packed)); -struct ide_drive_ctrl_reg { +struct ide_ctrl_reg { union { uint8_t val; struct { @@ -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,