2
0
mirror of https://github.com/xcat2/xNBA.git synced 2026-05-14 18:34:11 +00:00
Files
xNBA/src/include/gpxe/ramdisk.h
T
Michael Brown c44a193d0d [legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
2009-05-18 08:33:25 +01:00

25 lines
380 B
C

#ifndef _GPXE_RAMDISK_H
#define _GPXE_RAMDISK_H
/**
* @file
*
* RAM disks
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/uaccess.h>
#include <gpxe/blockdev.h>
struct ramdisk {
struct block_device blockdev;
userptr_t data;
};
extern int init_ramdisk ( struct ramdisk *ramdisk, userptr_t data, size_t len,
unsigned int blksize );
#endif /* _GPXE_RAMDISK_H */