ACPICA: ACPI 6.0: Add support for IORT table.
[firefly-linux-kernel-4.4.55.git] / include / acpi / actbl3.h
1 /******************************************************************************
2  *
3  * Name: actbl3.h - ACPI Table Definitions
4  *
5  *****************************************************************************/
6
7 /*
8  * Copyright (C) 2000 - 2015, Intel Corp.
9  * All rights reserved.
10  *
11  * Redistribution and use in source and binary forms, with or without
12  * modification, are permitted provided that the following conditions
13  * are met:
14  * 1. Redistributions of source code must retain the above copyright
15  *    notice, this list of conditions, and the following disclaimer,
16  *    without modification.
17  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18  *    substantially similar to the "NO WARRANTY" disclaimer below
19  *    ("Disclaimer") and any redistribution must be conditioned upon
20  *    including a substantially similar Disclaimer requirement for further
21  *    binary redistribution.
22  * 3. Neither the names of the above-listed copyright holders nor the names
23  *    of any contributors may be used to endorse or promote products derived
24  *    from this software without specific prior written permission.
25  *
26  * Alternatively, this software may be distributed under the terms of the
27  * GNU General Public License ("GPL") version 2 as published by the Free
28  * Software Foundation.
29  *
30  * NO WARRANTY
31  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41  * POSSIBILITY OF SUCH DAMAGES.
42  */
43
44 #ifndef __ACTBL3_H__
45 #define __ACTBL3_H__
46
47 /*******************************************************************************
48  *
49  * Additional ACPI Tables (3)
50  *
51  * These tables are not consumed directly by the ACPICA subsystem, but are
52  * included here to support device drivers and the AML disassembler.
53  *
54  * The tables in this file are fully defined within the ACPI specification.
55  *
56  ******************************************************************************/
57
58 /*
59  * Values for description table header signatures for tables defined in this
60  * file. Useful because they make it more difficult to inadvertently type in
61  * the wrong signature.
62  */
63 #define ACPI_SIG_BGRT           "BGRT"  /* Boot Graphics Resource Table */
64 #define ACPI_SIG_DRTM           "DRTM"  /* Dynamic Root of Trust for Measurement table */
65 #define ACPI_SIG_FPDT           "FPDT"  /* Firmware Performance Data Table */
66 #define ACPI_SIG_GTDT           "GTDT"  /* Generic Timer Description Table */
67 #define ACPI_SIG_MPST           "MPST"  /* Memory Power State Table */
68 #define ACPI_SIG_PCCT           "PCCT"  /* Platform Communications Channel Table */
69 #define ACPI_SIG_PMTT           "PMTT"  /* Platform Memory Topology Table */
70 #define ACPI_SIG_RASF           "RASF"  /* RAS Feature table */
71 #define ACPI_SIG_STAO           "STAO"  /* Status Override table */
72 #define ACPI_SIG_TPM2           "TPM2"  /* Trusted Platform Module 2.0 H/W interface table */
73 #define ACPI_SIG_WPBT           "WPBT"  /* Windows Platform Binary Table */
74 #define ACPI_SIG_XENV           "XENV"  /* Xen Environment table */
75
76 #define ACPI_SIG_S3PT           "S3PT"  /* S3 Performance (sub)Table */
77 #define ACPI_SIG_PCCS           "PCC"   /* PCC Shared Memory Region */
78
79 /* Reserved table signatures */
80
81 #define ACPI_SIG_MATR           "MATR"  /* Memory Address Translation Table */
82 #define ACPI_SIG_MSDM           "MSDM"  /* Microsoft Data Management Table */
83
84 /*
85  * All tables must be byte-packed to match the ACPI specification, since
86  * the tables are provided by the system BIOS.
87  */
88 #pragma pack(1)
89
90 /*
91  * Note: C bitfields are not used for this reason:
92  *
93  * "Bitfields are great and easy to read, but unfortunately the C language
94  * does not specify the layout of bitfields in memory, which means they are
95  * essentially useless for dealing with packed data in on-disk formats or
96  * binary wire protocols." (Or ACPI tables and buffers.) "If you ask me,
97  * this decision was a design error in C. Ritchie could have picked an order
98  * and stuck with it." Norman Ramsey.
99  * See http://stackoverflow.com/a/1053662/41661
100  */
101
102 /*******************************************************************************
103  *
104  * BGRT - Boot Graphics Resource Table (ACPI 5.0)
105  *        Version 1
106  *
107  ******************************************************************************/
108
109 struct acpi_table_bgrt {
110         struct acpi_table_header header;        /* Common ACPI table header */
111         u16 version;
112         u8 status;
113         u8 image_type;
114         u64 image_address;
115         u32 image_offset_x;
116         u32 image_offset_y;
117 };
118
119 /*******************************************************************************
120  *
121  * DRTM - Dynamic Root of Trust for Measurement table
122  *
123  ******************************************************************************/
124
125 struct acpi_table_drtm {
126         struct acpi_table_header header;        /* Common ACPI table header */
127         u64 entry_base_address;
128         u64 entry_length;
129         u32 entry_address32;
130         u64 entry_address64;
131         u64 exit_address;
132         u64 log_area_address;
133         u32 log_area_length;
134         u64 arch_dependent_address;
135         u32 flags;
136 };
137
138 /* 1) Validated Tables List */
139
140 struct acpi_drtm_vtl_list {
141         u32 validated_table_list_count;
142 };
143
144 /* 2) Resources List */
145
146 struct acpi_drtm_resource_list {
147         u32 resource_list_count;
148 };
149
150 /* 3) Platform-specific Identifiers List */
151
152 struct acpi_drtm_id_list {
153         u32 id_list_count;
154 };
155
156 /*******************************************************************************
157  *
158  * FPDT - Firmware Performance Data Table (ACPI 5.0)
159  *        Version 1
160  *
161  ******************************************************************************/
162
163 struct acpi_table_fpdt {
164         struct acpi_table_header header;        /* Common ACPI table header */
165 };
166
167 /* FPDT subtable header */
168
169 struct acpi_fpdt_header {
170         u16 type;
171         u8 length;
172         u8 revision;
173 };
174
175 /* Values for Type field above */
176
177 enum acpi_fpdt_type {
178         ACPI_FPDT_TYPE_BOOT = 0,
179         ACPI_FPDT_TYPE_S3PERF = 1
180 };
181
182 /*
183  * FPDT subtables
184  */
185
186 /* 0: Firmware Basic Boot Performance Record */
187
188 struct acpi_fpdt_boot {
189         struct acpi_fpdt_header header;
190         u8 reserved[4];
191         u64 reset_end;
192         u64 load_start;
193         u64 startup_start;
194         u64 exit_services_entry;
195         u64 exit_services_exit;
196 };
197
198 /* 1: S3 Performance Table Pointer Record */
199
200 struct acpi_fpdt_s3pt_ptr {
201         struct acpi_fpdt_header header;
202         u8 reserved[4];
203         u64 address;
204 };
205
206 /*
207  * S3PT - S3 Performance Table. This table is pointed to by the
208  * FPDT S3 Pointer Record above.
209  */
210 struct acpi_table_s3pt {
211         u8 signature[4];        /* "S3PT" */
212         u32 length;
213 };
214
215 /*
216  * S3PT Subtables
217  */
218 struct acpi_s3pt_header {
219         u16 type;
220         u8 length;
221         u8 revision;
222 };
223
224 /* Values for Type field above */
225
226 enum acpi_s3pt_type {
227         ACPI_S3PT_TYPE_RESUME = 0,
228         ACPI_S3PT_TYPE_SUSPEND = 1
229 };
230
231 struct acpi_s3pt_resume {
232         struct acpi_s3pt_header header;
233         u32 resume_count;
234         u64 full_resume;
235         u64 average_resume;
236 };
237
238 struct acpi_s3pt_suspend {
239         struct acpi_s3pt_header header;
240         u64 suspend_start;
241         u64 suspend_end;
242 };
243
244 /*******************************************************************************
245  *
246  * GTDT - Generic Timer Description Table (ACPI 5.1)
247  *        Version 2
248  *
249  ******************************************************************************/
250
251 struct acpi_table_gtdt {
252         struct acpi_table_header header;        /* Common ACPI table header */
253         u64 counter_block_addresss;
254         u32 reserved;
255         u32 secure_el1_interrupt;
256         u32 secure_el1_flags;
257         u32 non_secure_el1_interrupt;
258         u32 non_secure_el1_flags;
259         u32 virtual_timer_interrupt;
260         u32 virtual_timer_flags;
261         u32 non_secure_el2_interrupt;
262         u32 non_secure_el2_flags;
263         u64 counter_read_block_address;
264         u32 platform_timer_count;
265         u32 platform_timer_offset;
266 };
267
268 /* Flag Definitions: Timer Block Physical Timers and Virtual timers */
269
270 #define ACPI_GTDT_INTERRUPT_MODE        (1)
271 #define ACPI_GTDT_INTERRUPT_POLARITY    (1<<1)
272 #define ACPI_GTDT_ALWAYS_ON             (1<<2)
273
274 /* Common GTDT subtable header */
275
276 struct acpi_gtdt_header {
277         u8 type;
278         u16 length;
279 };
280
281 /* Values for GTDT subtable type above */
282
283 enum acpi_gtdt_type {
284         ACPI_GTDT_TYPE_TIMER_BLOCK = 0,
285         ACPI_GTDT_TYPE_WATCHDOG = 1,
286         ACPI_GTDT_TYPE_RESERVED = 2     /* 2 and greater are reserved */
287 };
288
289 /* GTDT Subtables, correspond to Type in struct acpi_gtdt_header */
290
291 /* 0: Generic Timer Block */
292
293 struct acpi_gtdt_timer_block {
294         struct acpi_gtdt_header header;
295         u8 reserved;
296         u64 block_address;
297         u32 timer_count;
298         u32 timer_offset;
299 };
300
301 /* Timer Sub-Structure, one per timer */
302
303 struct acpi_gtdt_timer_entry {
304         u8 frame_number;
305         u8 reserved[3];
306         u64 base_address;
307         u64 el0_base_address;
308         u32 timer_interrupt;
309         u32 timer_flags;
310         u32 virtual_timer_interrupt;
311         u32 virtual_timer_flags;
312         u32 common_flags;
313 };
314
315 /* Flag Definitions: timer_flags and virtual_timer_flags above */
316
317 #define ACPI_GTDT_GT_IRQ_MODE               (1)
318 #define ACPI_GTDT_GT_IRQ_POLARITY           (1<<1)
319
320 /* Flag Definitions: common_flags above */
321
322 #define ACPI_GTDT_GT_IS_SECURE_TIMER        (1)
323 #define ACPI_GTDT_GT_ALWAYS_ON              (1<<1)
324
325 /* 1: SBSA Generic Watchdog Structure */
326
327 struct acpi_gtdt_watchdog {
328         struct acpi_gtdt_header header;
329         u8 reserved;
330         u64 refresh_frame_address;
331         u64 control_frame_address;
332         u32 timer_interrupt;
333         u32 timer_flags;
334 };
335
336 /* Flag Definitions: timer_flags above */
337
338 #define ACPI_GTDT_WATCHDOG_IRQ_MODE         (1)
339 #define ACPI_GTDT_WATCHDOG_IRQ_POLARITY     (1<<1)
340 #define ACPI_GTDT_WATCHDOG_SECURE           (1<<2)
341
342 /*******************************************************************************
343  *
344  * MPST - Memory Power State Table (ACPI 5.0)
345  *        Version 1
346  *
347  ******************************************************************************/
348
349 #define ACPI_MPST_CHANNEL_INFO \
350         u8                              channel_id; \
351         u8                              reserved1[3]; \
352         u16                             power_node_count; \
353         u16                             reserved2;
354
355 /* Main table */
356
357 struct acpi_table_mpst {
358         struct acpi_table_header header;        /* Common ACPI table header */
359          ACPI_MPST_CHANNEL_INFO /* Platform Communication Channel */
360 };
361
362 /* Memory Platform Communication Channel Info */
363
364 struct acpi_mpst_channel {
365         ACPI_MPST_CHANNEL_INFO  /* Platform Communication Channel */
366 };
367
368 /* Memory Power Node Structure */
369
370 struct acpi_mpst_power_node {
371         u8 flags;
372         u8 reserved1;
373         u16 node_id;
374         u32 length;
375         u64 range_address;
376         u64 range_length;
377         u32 num_power_states;
378         u32 num_physical_components;
379 };
380
381 /* Values for Flags field above */
382
383 #define ACPI_MPST_ENABLED               1
384 #define ACPI_MPST_POWER_MANAGED         2
385 #define ACPI_MPST_HOT_PLUG_CAPABLE      4
386
387 /* Memory Power State Structure (follows POWER_NODE above) */
388
389 struct acpi_mpst_power_state {
390         u8 power_state;
391         u8 info_index;
392 };
393
394 /* Physical Component ID Structure (follows POWER_STATE above) */
395
396 struct acpi_mpst_component {
397         u16 component_id;
398 };
399
400 /* Memory Power State Characteristics Structure (follows all POWER_NODEs) */
401
402 struct acpi_mpst_data_hdr {
403         u16 characteristics_count;
404         u16 reserved;
405 };
406
407 struct acpi_mpst_power_data {
408         u8 structure_id;
409         u8 flags;
410         u16 reserved1;
411         u32 average_power;
412         u32 power_saving;
413         u64 exit_latency;
414         u64 reserved2;
415 };
416
417 /* Values for Flags field above */
418
419 #define ACPI_MPST_PRESERVE              1
420 #define ACPI_MPST_AUTOENTRY             2
421 #define ACPI_MPST_AUTOEXIT              4
422
423 /* Shared Memory Region (not part of an ACPI table) */
424
425 struct acpi_mpst_shared {
426         u32 signature;
427         u16 pcc_command;
428         u16 pcc_status;
429         u32 command_register;
430         u32 status_register;
431         u32 power_state_id;
432         u32 power_node_id;
433         u64 energy_consumed;
434         u64 average_power;
435 };
436
437 /*******************************************************************************
438  *
439  * PCCT - Platform Communications Channel Table (ACPI 5.0)
440  *        Version 1
441  *
442  ******************************************************************************/
443
444 struct acpi_table_pcct {
445         struct acpi_table_header header;        /* Common ACPI table header */
446         u32 flags;
447         u64 reserved;
448 };
449
450 /* Values for Flags field above */
451
452 #define ACPI_PCCT_DOORBELL              1
453
454 /* Values for subtable type in struct acpi_subtable_header */
455
456 enum acpi_pcct_type {
457         ACPI_PCCT_TYPE_GENERIC_SUBSPACE = 0,
458         ACPI_PCCT_TYPE_HW_REDUCED_SUBSPACE = 1,
459         ACPI_PCCT_TYPE_RESERVED = 2     /* 2 and greater are reserved */
460 };
461
462 /*
463  * PCCT Subtables, correspond to Type in struct acpi_subtable_header
464  */
465
466 /* 0: Generic Communications Subspace */
467
468 struct acpi_pcct_subspace {
469         struct acpi_subtable_header header;
470         u8 reserved[6];
471         u64 base_address;
472         u64 length;
473         struct acpi_generic_address doorbell_register;
474         u64 preserve_mask;
475         u64 write_mask;
476         u32 latency;
477         u32 max_access_rate;
478         u16 min_turnaround_time;
479 };
480
481 /* 1: HW-reduced Communications Subspace (ACPI 5.1) */
482
483 struct acpi_pcct_hw_reduced {
484         struct acpi_subtable_header header;
485         u32 doorbell_interrupt;
486         u8 flags;
487         u8 reserved;
488         u64 base_address;
489         u64 length;
490         struct acpi_generic_address doorbell_register;
491         u64 preserve_mask;
492         u64 write_mask;
493         u32 latency;
494         u32 max_access_rate;
495         u16 min_turnaround_time;
496 };
497
498 /* Values for doorbell flags above */
499
500 #define ACPI_PCCT_INTERRUPT_POLARITY    (1)
501 #define ACPI_PCCT_INTERRUPT_MODE        (1<<1)
502
503 /*
504  * PCC memory structures (not part of the ACPI table)
505  */
506
507 /* Shared Memory Region */
508
509 struct acpi_pcct_shared_memory {
510         u32 signature;
511         u16 command;
512         u16 status;
513 };
514
515 /*******************************************************************************
516  *
517  * PMTT - Platform Memory Topology Table (ACPI 5.0)
518  *        Version 1
519  *
520  ******************************************************************************/
521
522 struct acpi_table_pmtt {
523         struct acpi_table_header header;        /* Common ACPI table header */
524         u32 reserved;
525 };
526
527 /* Common header for PMTT subtables that follow main table */
528
529 struct acpi_pmtt_header {
530         u8 type;
531         u8 reserved1;
532         u16 length;
533         u16 flags;
534         u16 reserved2;
535 };
536
537 /* Values for Type field above */
538
539 #define ACPI_PMTT_TYPE_SOCKET           0
540 #define ACPI_PMTT_TYPE_CONTROLLER       1
541 #define ACPI_PMTT_TYPE_DIMM             2
542 #define ACPI_PMTT_TYPE_RESERVED         3       /* 0x03-0xFF are reserved */
543
544 /* Values for Flags field above */
545
546 #define ACPI_PMTT_TOP_LEVEL             0x0001
547 #define ACPI_PMTT_PHYSICAL              0x0002
548 #define ACPI_PMTT_MEMORY_TYPE           0x000C
549
550 /*
551  * PMTT subtables, correspond to Type in struct acpi_pmtt_header
552  */
553
554 /* 0: Socket Structure */
555
556 struct acpi_pmtt_socket {
557         struct acpi_pmtt_header header;
558         u16 socket_id;
559         u16 reserved;
560 };
561
562 /* 1: Memory Controller subtable */
563
564 struct acpi_pmtt_controller {
565         struct acpi_pmtt_header header;
566         u32 read_latency;
567         u32 write_latency;
568         u32 read_bandwidth;
569         u32 write_bandwidth;
570         u16 access_width;
571         u16 alignment;
572         u16 reserved;
573         u16 domain_count;
574 };
575
576 /* 1a: Proximity Domain substructure */
577
578 struct acpi_pmtt_domain {
579         u32 proximity_domain;
580 };
581
582 /* 2: Physical Component Identifier (DIMM) */
583
584 struct acpi_pmtt_physical_component {
585         struct acpi_pmtt_header header;
586         u16 component_id;
587         u16 reserved;
588         u32 memory_size;
589         u32 bios_handle;
590 };
591
592 /*******************************************************************************
593  *
594  * RASF - RAS Feature Table (ACPI 5.0)
595  *        Version 1
596  *
597  ******************************************************************************/
598
599 struct acpi_table_rasf {
600         struct acpi_table_header header;        /* Common ACPI table header */
601         u8 channel_id[12];
602 };
603
604 /* RASF Platform Communication Channel Shared Memory Region */
605
606 struct acpi_rasf_shared_memory {
607         u32 signature;
608         u16 command;
609         u16 status;
610         u16 version;
611         u8 capabilities[16];
612         u8 set_capabilities[16];
613         u16 num_parameter_blocks;
614         u32 set_capabilities_status;
615 };
616
617 /* RASF Parameter Block Structure Header */
618
619 struct acpi_rasf_parameter_block {
620         u16 type;
621         u16 version;
622         u16 length;
623 };
624
625 /* RASF Parameter Block Structure for PATROL_SCRUB */
626
627 struct acpi_rasf_patrol_scrub_parameter {
628         struct acpi_rasf_parameter_block header;
629         u16 patrol_scrub_command;
630         u64 requested_address_range[2];
631         u64 actual_address_range[2];
632         u16 flags;
633         u8 requested_speed;
634 };
635
636 /* Masks for Flags and Speed fields above */
637
638 #define ACPI_RASF_SCRUBBER_RUNNING      1
639 #define ACPI_RASF_SPEED                 (7<<1)
640 #define ACPI_RASF_SPEED_SLOW            (0<<1)
641 #define ACPI_RASF_SPEED_MEDIUM          (4<<1)
642 #define ACPI_RASF_SPEED_FAST            (7<<1)
643
644 /* Channel Commands */
645
646 enum acpi_rasf_commands {
647         ACPI_RASF_EXECUTE_RASF_COMMAND = 1
648 };
649
650 /* Platform RAS Capabilities */
651
652 enum acpi_rasf_capabiliities {
653         ACPI_HW_PATROL_SCRUB_SUPPORTED = 0,
654         ACPI_SW_PATROL_SCRUB_EXPOSED = 1
655 };
656
657 /* Patrol Scrub Commands */
658
659 enum acpi_rasf_patrol_scrub_commands {
660         ACPI_RASF_GET_PATROL_PARAMETERS = 1,
661         ACPI_RASF_START_PATROL_SCRUBBER = 2,
662         ACPI_RASF_STOP_PATROL_SCRUBBER = 3
663 };
664
665 /* Channel Command flags */
666
667 #define ACPI_RASF_GENERATE_SCI          (1<<15)
668
669 /* Status values */
670
671 enum acpi_rasf_status {
672         ACPI_RASF_SUCCESS = 0,
673         ACPI_RASF_NOT_VALID = 1,
674         ACPI_RASF_NOT_SUPPORTED = 2,
675         ACPI_RASF_BUSY = 3,
676         ACPI_RASF_FAILED = 4,
677         ACPI_RASF_ABORTED = 5,
678         ACPI_RASF_INVALID_DATA = 6
679 };
680
681 /* Status flags */
682
683 #define ACPI_RASF_COMMAND_COMPLETE      (1)
684 #define ACPI_RASF_SCI_DOORBELL          (1<<1)
685 #define ACPI_RASF_ERROR                 (1<<2)
686 #define ACPI_RASF_STATUS                (0x1F<<3)
687
688 /*******************************************************************************
689  *
690  * STAO - Status Override Table (_STA override) - ACPI 6.0
691  *        Version 1
692  *
693  * Conforms to "ACPI Specification for Status Override Table"
694  * 6 January 2015
695  *
696  ******************************************************************************/
697
698 struct acpi_table_stao {
699         struct acpi_table_header header;        /* Common ACPI table header */
700         u8 ignore_uart;
701 };
702
703 /*******************************************************************************
704  *
705  * TPM2 - Trusted Platform Module (TPM) 2.0 Hardware Interface Table
706  *        Version 3
707  *
708  * Conforms to "TPM 2.0 Hardware Interface Table (TPM2)" 29 November 2011
709  *
710  ******************************************************************************/
711
712 struct acpi_table_tpm2 {
713         struct acpi_table_header header;        /* Common ACPI table header */
714         u32 flags;
715         u64 control_address;
716         u32 start_method;
717 };
718
719 /* Control area structure (not part of table, pointed to by control_address) */
720
721 struct acpi_tpm2_control {
722         u32 reserved;
723         u32 error;
724         u32 cancel;
725         u32 start;
726         u64 interrupt_control;
727         u32 command_size;
728         u64 command_address;
729         u32 response_size;
730         u64 response_address;
731 };
732
733 /*******************************************************************************
734  *
735  * WPBT - Windows Platform Environment Table (ACPI 6.0)
736  *        Version 1
737  *
738  * Conforms to "Windows Platform Binary Table (WPBT)" 29 November 2011
739  *
740  ******************************************************************************/
741
742 struct acpi_table_wpbt {
743         struct acpi_table_header header;        /* Common ACPI table header */
744         u32 handoff_size;
745         u64 handoff_address;
746         u8 layout;
747         u8 type;
748         u16 arguments_length;
749 };
750
751 /*******************************************************************************
752  *
753  * XENV - Xen Environment Table (ACPI 6.0)
754  *        Version 1
755  *
756  * Conforms to "ACPI Specification for Xen Environment Table" 4 January 2015
757  *
758  ******************************************************************************/
759
760 struct acpi_table_xenv {
761         struct acpi_table_header header;        /* Common ACPI table header */
762         u64 grant_table_address;
763         u64 grant_table_size;
764         u32 event_interrupt;
765         u8 event_flags;
766 };
767
768 /* Reset to default packing */
769
770 #pragma pack()
771
772 #endif                          /* __ACTBL3_H__ */