Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Christopher Ferris | 8b7fdc9 | 2023-02-21 13:36:32 -0800 | [diff] [blame] | 7 | #ifndef _UAPI_LINUX_TDX_GUEST_H_ |
| 8 | #define _UAPI_LINUX_TDX_GUEST_H_ |
| 9 | #include <linux/ioctl.h> |
| 10 | #include <linux/types.h> |
| 11 | #define TDX_REPORTDATA_LEN 64 |
| 12 | #define TDX_REPORT_LEN 1024 |
| 13 | struct tdx_report_req { |
| 14 | __u8 reportdata[TDX_REPORTDATA_LEN]; |
| 15 | __u8 tdreport[TDX_REPORT_LEN]; |
| 16 | }; |
| 17 | #define TDX_CMD_GET_REPORT0 _IOWR('T', 1, struct tdx_report_req) |
| 18 | #endif |