summaryrefslogtreecommitdiff
path: root/platform/sysroot/usr/include/linux/sev-guest.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/sysroot/usr/include/linux/sev-guest.h')
-rw-r--r--platform/sysroot/usr/include/linux/sev-guest.h27
1 files changed, 8 insertions, 19 deletions
diff --git a/platform/sysroot/usr/include/linux/sev-guest.h b/platform/sysroot/usr/include/linux/sev-guest.h
index 3e8c0bf60..a822bedff 100644
--- a/platform/sysroot/usr/include/linux/sev-guest.h
+++ b/platform/sysroot/usr/include/linux/sev-guest.h
@@ -1,26 +1,15 @@
-/****************************************************************************
- ****************************************************************************
- ***
- *** This header was automatically generated from a Linux kernel header
- *** of the same name, to make information necessary for userspace to
- *** call into the kernel available to libc. It contains only constants,
- *** structures, and macros generated from the original header, and thus,
- *** contains no copyrightable information.
- ***
- *** To edit the content of this header, modify the corresponding
- *** source file (e.g. under external/kernel-headers/original/) then
- *** run bionic/libc/kernel/tools/update_all.py
- ***
- *** Any manual change here will be lost the next time this script will
- *** be run. You've been warned!
- ***
- ****************************************************************************
- ****************************************************************************/
+/*
+ * This file is auto-generated. Modifications will be lost.
+ *
+ * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
+ * for more information.
+ */
#ifndef __UAPI_LINUX_SEV_GUEST_H_
#define __UAPI_LINUX_SEV_GUEST_H_
#include <linux/types.h>
+#define SNP_REPORT_USER_DATA_SIZE 64
struct snp_report_req {
- __u8 user_data[64];
+ __u8 user_data[SNP_REPORT_USER_DATA_SIZE];
__u32 vmpl;
__u8 rsvd[28];
};