diff options
Diffstat (limited to 'compote-uapi.h')
-rw-r--r-- | compote-uapi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compote-uapi.h b/compote-uapi.h index 83f5e8a..8b10c1b 100644 --- a/compote-uapi.h +++ b/compote-uapi.h @@ -37,10 +37,17 @@ struct compote_ioctl_channel_free { uint64_t channel; }; +struct compote_ioctl_channel_execute { + uint64_t channel; + uint64_t addr; + uint32_t ndw; +}; + /* Expose the address space of the calling process through hmm dummy dev file */ #define COMPOTE_IOCTL_MEM_ALLOC _IOWR('H', 0x00, struct compote_ioctl_mem_alloc) #define COMPOTE_IOCTL_MEM_FREE _IOWR('H', 0x01, struct compote_ioctl_mem_free) #define COMPOTE_IOCTL_CHAN_ALLOC _IOWR('H', 0x02, struct compote_ioctl_channel_alloc) #define COMPOTE_IOCTL_CHAN_FREE _IOWR('H', 0x03, struct compote_ioctl_channel_free) +#define COMPOTE_IOCTL_CHAN_EXEC _IOWR('H', 0x04, struct compote_ioctl_channel_execute) #endif /* COMPOTE_UAPI_H */ |