2 * Copyright 2013, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef _PRIVATE_FILE_SYSTEMS_RAM_DISK_RAM_DISK_H
6 #define _PRIVATE_FILE_SYSTEMS_RAM_DISK_RAM_DISK_H
10 #include <StorageDefs.h>
13 #define RAM_DISK_CONTROL_DEVICE_NAME "disk/virtual/ram/control"
14 #define RAM_DISK_RAW_DEVICE_BASE_NAME "disk/virtual/ram"
18 RAM_DISK_IOCTL_REGISTER
= B_DEVICE_OP_CODES_END
+ 1,
19 RAM_DISK_IOCTL_UNREGISTER
,
25 struct ram_disk_ioctl_register
{
27 char path
[B_PATH_NAME_LENGTH
];
34 struct ram_disk_ioctl_unregister
{
39 struct ram_disk_ioctl_info
{
43 char path
[B_PATH_NAME_LENGTH
];
47 #endif // _PRIVATE_FILE_SYSTEMS_RAM_DISK_RAM_DISK_H