Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6750be9 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki
Browse files

ACPICA: iASL: Finish support for CSRT table.



Add intel-specific shared info subtable.  Add data table compiler
and template support.

Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 0377b5ac
Loading
Loading
Loading
Loading
+21 −2
Original line number Diff line number Diff line
@@ -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 */