ramdisk.h

Go to the documentation of this file.
00001 #ifndef _GPXE_RAMDISK_H
00002 #define _GPXE_RAMDISK_H
00003 
00004 /**
00005  * @file
00006  *
00007  * RAM disks
00008  *
00009  */
00010 
00011 FILE_LICENCE ( GPL2_OR_LATER );
00012 
00013 #include <gpxe/uaccess.h>
00014 #include <gpxe/blockdev.h>
00015 
00016 struct ramdisk {
00017         struct block_device blockdev;
00018         userptr_t data;
00019 };
00020 
00021 extern int init_ramdisk ( struct ramdisk *ramdisk, userptr_t data, size_t len,
00022                           unsigned int blksize );
00023 
00024 #endif /* _GPXE_RAMDISK_H */

Generated on Tue Apr 6 20:01:08 2010 for gPXE by  doxygen 1.5.7.1