X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Framdisk.h;h=017512d888c1c58d6184470b582af6d4c5511c3d;hb=6f8b30059c9ffdde7196610bcc264793c190b4b3;hp=04d342a9317cb287984d4ba1a0f9cd71ac4437f9;hpb=e70e95962c26832628d586e07f9cd1a2e1852d72;p=palacios.git diff --git a/palacios/include/devices/ramdisk.h b/palacios/include/devices/ramdisk.h index 04d342a..017512d 100644 --- a/palacios/include/devices/ramdisk.h +++ b/palacios/include/devices/ramdisk.h @@ -17,17 +17,24 @@ * redistribute, and modify it as specified in the file "V3VEE_LICENSE". */ -#ifndef __DEVICES_RAMDISK_H_ -#define __DEVICES_RAMDISK_H_ +#ifndef __DEVICES_RAMDISK_H__ +#define __DEVICES_RAMDISK_H__ + +#ifdef __V3VEE__ + + #include #include +struct cdrom_ops; +int v3_ramdisk_register_cdrom(struct vm_device * ide_dev, uint_t busID, uint_t driveID, struct cdrom_ops * cd, void * private_data); +struct vm_device * v3_create_ramdisk(); -struct vm_device * create_ramdisk(void); +#endif // ! __V3VEE__ #endif