diff options
| author | Gerrit Code Review <gerrit2@nvidia.com> | 2018-08-29 20:47:11 -0400 |
|---|---|---|
| committer | Gerrit Code Review <gerrit2@nvidia.com> | 2018-08-29 20:47:11 -0400 |
| commit | 1d976d14aa9b6322f1e5f26bed7b3df3b4a21588 (patch) | |
| tree | d0493cc283bb1f7efce1853e7b113261ae246671 /include/linux | |
| parent | acf77559e20fc9aee9e1f5b7221d861f7f317756 (diff) | |
| parent | 4bea5890e61806e84293bbe2686e9e446a9c621a (diff) | |
Merge "virtualization drivers: move to nvidia" into dev-kernel
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvhvivc_mempool_ioctl.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/nvhvivc_mempool_ioctl.h b/include/linux/nvhvivc_mempool_ioctl.h new file mode 100644 index 000000000..4853b8863 --- /dev/null +++ b/include/linux/nvhvivc_mempool_ioctl.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* | ||
| 2 | * nvhvivc_mempool_ioctl.h | ||
| 3 | * | ||
| 4 | * Declarations for Tegra Hypervisor ivc mempool driver ioctls | ||
| 5 | * | ||
| 6 | * Copyright (c) 2016 NVIDIA CORPORATION. All rights reserved. | ||
| 7 | * | ||
| 8 | * This file is licensed under the terms of the GNU General Public License | ||
| 9 | * version 2. This program is licensed "as is" without any warranty of any | ||
| 10 | * kind, whether express or implied. | ||
| 11 | * | ||
| 12 | */ | ||
| 13 | #ifndef __NVHVIVC_MEMPOOL_IOCTL_H__ | ||
| 14 | #define __NVHVIVC_MEMPOOL_IOCTL_H__ | ||
| 15 | |||
| 16 | #include <linux/ioctl.h> | ||
| 17 | |||
| 18 | /* ivc mempool IOCTL magic number */ | ||
| 19 | #define TEGRA_MPLUSERSPACE_IOCTL_MAGIC 0xA6 | ||
| 20 | |||
| 21 | |||
| 22 | /* IOCTL definitions */ | ||
| 23 | |||
| 24 | /* query ivc mempool configuration data */ | ||
| 25 | #define TEGRA_MPLUSERSPACE_IOCTL_GET_INFO \ | ||
| 26 | _IOR(TEGRA_MPLUSERSPACE_IOCTL_MAGIC, 1, struct ivc_mempool) | ||
| 27 | |||
| 28 | #define TEGRA_MPLUSERSPACE_IOCTL_NUMBER_MAX 1 | ||
| 29 | |||
| 30 | #endif /* __NVHVIVC_MEMPOOL_IOCTL_H__ */ | ||
