root/trunk/kernel/device_cmd.h
| Revision 2615, 302 bytes (checked in by dhozac, 1 year ago) |
|---|
| Line | |
|---|---|
| 1 | #ifndef _VX_DEVICE_CMD_H |
| 2 | #define _VX_DEVICE_CMD_H |
| 3 | |
| 4 | |
| 5 | /* device vserver commands */ |
| 6 | |
| 7 | #define VCMD_set_mapping VC_CMD(DEVICE, 1, 0) |
| 8 | #define VCMD_unset_mapping VC_CMD(DEVICE, 2, 0) |
| 9 | |
| 10 | struct vcmd_set_mapping_v0 { |
| 11 | const char *device; |
| 12 | const char *target; |
| 13 | uint32_t flags; |
| 14 | }; |
| 15 | |
| 16 | |
| 17 | #endif /* _VX_DEVICE_CMD_H */ |
Note: See TracBrowser for help on using the browser.
