diff options
| author | Enrico Cadorin <ecadorin@nvidia.com> | 2018-08-27 19:59:22 -0400 |
|---|---|---|
| committer | Enrico Cadorin <ecadorin@nvidia.com> | 2018-08-27 20:47:48 -0400 |
| commit | 4bea5890e61806e84293bbe2686e9e446a9c621a (patch) | |
| tree | 8be24b3123287117e3fff40a0e53ad1208277dee /include/linux | |
| parent | 65089c2c315e044a24319d93f43b7851861c814f (diff) | |
| parent | c1ea65bfa06ae75db0f9c29f788ccd84585567e8 (diff) | |
virtualization drivers: move to nvidia
Move files:
- drivers/virt/tegra/ivc-cdev.c
- drivers/virt/tegra/userspace_ivc_mempool.c
- drivers/virt/tegra/tegra_hv.c
- drivers/virt/tegra/tegra_hv.h
- drivers/virt/tegra/hvc_sysfs.c
- include/linux/nvhvivc_mempool_ioctl.h
Bug 200386262
Jira HYP-1284
Change-Id: I268808a5200d2ed5c9b82930d8ce7157a9437835
Signed-off-by: Enrico Cadorin <ecadorin@nvidia.com>
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__ */ | ||
