mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[module] added missing kvmfr.h, fixes #253
This commit is contained in:
parent
367a73d033
commit
b953b2b807
2 changed files with 19 additions and 1 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
B1-160-g1ac13658e1+1
|
B1-162-g3acfbdce02+1
|
18
module/kvmfr.h
Normal file
18
module/kvmfr.h
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#ifndef _KVMFR_H
|
||||||
|
#define _KVMFR_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
#include <linux/ioctl.h>
|
||||||
|
|
||||||
|
#define KVMFR_DMABUF_FLAG_CLOEXEC 0x1
|
||||||
|
|
||||||
|
struct kvmfr_dmabuf_create {
|
||||||
|
__u8 flags;
|
||||||
|
__u64 offset;
|
||||||
|
__u64 size;
|
||||||
|
};
|
||||||
|
|
||||||
|
#define KVMFR_DMABUF_GETSIZE _IO('u', 0x44)
|
||||||
|
#define KVMFR_DMABUF_CREATE _IOW('u', 0x42, struct kvmfr_dmabuf_create)
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in a new issue