X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Framdisk.h;h=017512d888c1c58d6184470b582af6d4c5511c3d;hb=6f8b30059c9ffdde7196610bcc264793c190b4b3;hp=be30d5a40d9b90acedc68ba32cd2cc4399f6ba40;hpb=6593ee3c311ec87304c7bed52a9e6034338679fb;p=palacios.git diff --git a/palacios/include/devices/ramdisk.h b/palacios/include/devices/ramdisk.h index be30d5a..017512d 100644 --- a/palacios/include/devices/ramdisk.h +++ b/palacios/include/devices/ramdisk.h @@ -17,8 +17,12 @@ * 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 @@ -28,6 +32,9 @@ 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 * create_ramdisk(void); +struct vm_device * v3_create_ramdisk(); + + +#endif // ! __V3VEE__ #endif