summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nvhvivc_mempool_ioctl.h
blob: a9f4a5fd1feb71ce40d84543f8fb5adac9d25c76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * include/uapi/linux/nvhvivc_mempool_ioctl.h
 *
 * Declarations for Tegra Hypervisor ivc mempool driver ioctls
 *
 * Copyright (c) 2016-2020 NVIDIA CORPORATION.  All rights reserved.
 *
 * This file is licensed under the terms of the GNU General Public License
 * version 2.  This program is licensed "as is" without any warranty of any
 * kind, whether express or implied.
 *
 */
#ifndef __UAPI_NVHVIVC_MEMPOOL_IOCTL_H__
#define __UAPI_NVHVIVC_MEMPOOL_IOCTL_H__

#include <linux/ioctl.h>

/* ivc mempool IOCTL magic number */
#define TEGRA_MPLUSERSPACE_IOCTL_MAGIC 0xA6


/* IOCTL definitions */

/* query ivc mempool configuration data */
#define TEGRA_MPLUSERSPACE_IOCTL_GET_INFO \
	_IOR(TEGRA_MPLUSERSPACE_IOCTL_MAGIC, 1, struct ivc_mempool)

#define TEGRA_MPLUSERSPACE_IOCTL_NUMBER_MAX 1

#endif /* __UAPI_NVHVIVC_MEMPOOL_IOCTL_H__ */