X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Framdisk.h;h=b8c0d615319d074aab35f148551773537dd6f5a3;hb=101b1bdfedbf377765d7c74641e9bcf356ebed18;hp=be30d5a40d9b90acedc68ba32cd2cc4399f6ba40;hpb=a46778669bb94bcf6b0a05646123ff748cfe86be;p=palacios.git diff --git a/palacios/include/devices/ramdisk.h b/palacios/include/devices/ramdisk.h index be30d5a..b8c0d61 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 * create_ramdisk(); + + +#endif // ! __V3VEE__ #endif