/* * This file is auto-generated. Modifications will be lost. * * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ * for more information. */ #ifndef _UAPI_ASM_X86_SETUP_DATA_H #define _UAPI_ASM_X86_SETUP_DATA_H #define SETUP_NONE 0 #define SETUP_E820_EXT 1 #define SETUP_DTB 2 #define SETUP_PCI 3 #define SETUP_EFI 4 #define SETUP_APPLE_PROPERTIES 5 #define SETUP_JAILHOUSE 6 #define SETUP_CC_BLOB 7 #define SETUP_IMA 8 #define SETUP_RNG_SEED 9 #define SETUP_ENUM_MAX SETUP_RNG_SEED #define SETUP_INDIRECT (1 << 31) #define SETUP_TYPE_MAX (SETUP_ENUM_MAX | SETUP_INDIRECT) #ifndef __ASSEMBLY__ #include struct setup_data { __u64 next; __u32 type; __u32 len; __u8 data[]; }; struct setup_indirect { __u32 type; __u32 reserved; __u64 len; __u64 addr; }; struct boot_e820_entry { __u64 addr; __u64 size; __u32 type; } __attribute__((packed)); struct jailhouse_setup_data { struct { __u16 version; __u16 compatible_version; } __attribute__((packed)) hdr; struct { __u16 pm_timer_address; __u16 num_cpus; __u64 pci_mmconfig_base; __u32 tsc_khz; __u32 apic_khz; __u8 standard_ioapic; __u8 cpu_ids[255]; } __attribute__((packed)) v1; struct { __u32 flags; } __attribute__((packed)) v2; } __attribute__((packed)); struct ima_setup_data { __u64 addr; __u64 size; } __attribute__((packed)); #endif #endif