X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Framdisk.h;h=017512d888c1c58d6184470b582af6d4c5511c3d;hb=6f8b30059c9ffdde7196610bcc264793c190b4b3;hp=b5b7d66a4d44f6474634fae91dfd3bcbe8cd2163;hpb=75d9c52b3ee8673c9f358b7815d2026da5319ca7;p=palacios.git diff --git a/palacios/include/devices/ramdisk.h b/palacios/include/devices/ramdisk.h index b5b7d66..017512d 100644 --- a/palacios/include/devices/ramdisk.h +++ b/palacios/include/devices/ramdisk.h @@ -1,18 +1,40 @@ /* - * Zheng Cui - * cuizheng@cs.unm.edu - * July 2008 + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2008, Zheng Cui + * Copyright (c) 2008, The V3VEE Project + * All rights reserved. + * + * Author: Zheng Cui + * + * This is free software. You are permitted to use, + * 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__ -#include //for off_t in C99 -#include //for size_t -#include -#include +#ifdef __V3VEE__ + + + +#include #include -struct vm_device * create_ramdisk(void); +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(); + + +#endif // ! __V3VEE__ #endif