X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Fide.h;fp=palacios%2Finclude%2Fdevices%2Fide.h;h=d35dfe887cf8eb72535994a4456d24abc477b547;hp=940882b53ce4af6ddbd1c7e9e8bcdb68adb6da30;hb=6eecf583b522147ef13faabb634562f6f23bb712;hpb=963271f089c8da043d1c0f5d1549f13f794a4c6b diff --git a/palacios/include/devices/ide.h b/palacios/include/devices/ide.h index 940882b..d35dfe8 100644 --- a/palacios/include/devices/ide.h +++ b/palacios/include/devices/ide.h @@ -16,6 +16,8 @@ typedef uint64_t Bit64u; #endif +#define MAX_ATA_CHANNEL 4 + typedef enum _sense { SENSE_NONE = 0, SENSE_NOT_READY = 2, @@ -184,9 +186,12 @@ struct channel_t { +struct ramdisk_t { + struct channel_t channels[MAX_ATA_CHANNEL]; +}; + -struct ramdisk_t;