• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _UAPI_LINUX_VTPM_PROXY_H
7 #define _UAPI_LINUX_VTPM_PROXY_H
8 #include <linux/types.h>
9 #include <linux/ioctl.h>
10 enum vtpm_proxy_flags {
11 	VTPM_PROXY_FLAG_TPM2	= 1,
12 };
13 struct vtpm_proxy_new_dev {
14 	__u32 flags;
15 	__u32 tpm_num;
16 	__u32 fd;
17 	__u32 major;
18 	__u32 minor;
19 };
20 #define VTPM_PROXY_IOC_NEW_DEV	_IOWR(0xa1, 0x00, struct vtpm_proxy_new_dev)
21 #define TPM2_CC_SET_LOCALITY	0x20001000
22 #define TPM_ORD_SET_LOCALITY	0x20001000
23 #endif
24