23 #ifndef _LINUX_TBOOT_H
24 #define _LINUX_TBOOT_H
36 #ifdef CONFIG_INTEL_TXT
40 #define TB_KEY_SIZE 64
42 #define MAX_TB_MAC_REGIONS 32
44 struct tboot_mac_region {
50 struct tboot_acpi_generic_address {
62 struct tboot_acpi_sleep_info {
63 struct tboot_acpi_generic_address pm1a_cnt_blk;
64 struct tboot_acpi_generic_address pm1b_cnt_blk;
65 struct tboot_acpi_generic_address pm1a_evt_blk;
66 struct tboot_acpi_generic_address pm1b_evt_blk;
71 u64 kernel_s3_resume_vector;
99 struct tboot_acpi_sleep_info acpi_sinfo;
107 struct tboot_mac_region mac_regions[MAX_TB_MAC_REGIONS];
115 u8 s3_key[TB_KEY_SIZE];
123 u8 reserved_align[3];
134 #define TBOOT_UUID {0xff, 0x8d, 0x3c, 0x66, 0xb3, 0xe8, 0x82, 0x4b, 0xbf,\
135 0xaa, 0x19, 0xea, 0x4d, 0x5, 0x7a, 0x8}
137 extern struct tboot *tboot;
141 return tboot !=
NULL;
152 #define tboot_enabled() 0
153 #define tboot_probe() do { } while (0)
154 #define tboot_shutdown(shutdown_type) do { } while (0)
155 #define tboot_sleep(sleep_state, pm1a_control, pm1b_control) \
157 #define tboot_get_dmar_table(dmar_tbl) (dmar_tbl)
158 #define tboot_force_iommu() 0