32 lines
835 B
C
32 lines
835 B
C
/* xbdRamDisk.h - Ramdisk Block Device conforming to the XBD interface */
|
|
|
|
/*
|
|
* Copyright 2005 - Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute, modify or otherwise make use
|
|
* of this software may be licensed only pursuant to the terms
|
|
* of an applicable Wind River license agreement.
|
|
*/
|
|
|
|
/*
|
|
modification history
|
|
--------------------
|
|
01c,26jul05,jlk Updated xbdRamDiskDevCreate() prototype to take an extra
|
|
parameter.
|
|
01b,11jul05,jlk Added xbdRamDiskDevDelete() prototype
|
|
01a,31jan05,rfr Fixed inclusion of xbd.h
|
|
*/
|
|
|
|
#ifndef __INCxbdRamDiskh
|
|
#define __INCxbdRamDiskh
|
|
|
|
|
|
#include <drv/xbd/xbd.h>
|
|
|
|
|
|
extern device_t xbdRamDiskDevCreate(unsigned BlockSize, unsigned TotalSize,
|
|
BOOL flag, const char *name);
|
|
extern STATUS xbdRamDiskDevDelete(device_t d);
|
|
|
|
#endif
|