Skip to content

Commit

Permalink
ACPICA: iASL: Finish support for CSRT table.
Browse files Browse the repository at this point in the history
Add intel-specific shared info subtable.  Add data table compiler
and template support.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Jan 10, 2013
1 parent 0377b5a commit e6750be
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions include/acpi/actbl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,28 @@ struct acpi_csrt_group {
u16 subdevice_id;
u16 revision;
u16 reserved;
u32 info_length;
u32 shared_info_length;

/* Shared data (length = info_length) immediately follows */
/* Shared data immediately follows (Length = shared_info_length) */
};

/* Shared Info subtable */

struct acpi_csrt_shared_info {
u16 major_version;
u16 minor_version;
u32 mmio_base_low;
u32 mmio_base_high;
u32 gsi_interrupt;
u8 interrupt_polarity;
u8 interrupt_mode;
u8 num_channels;
u8 dma_address_width;
u16 base_request_line;
u16 num_handshake_signals;
u32 max_block_size;

/* Resource descriptors immediately follow (Length = Group length - shared_info_length) */
};

/* Resource Descriptor subtable */
Expand Down

0 comments on commit e6750be

Please sign in to comment.