Han, Weidong
2010-Mar-25 01:48 UTC
[Xen-devel] [PATCH] VT-d: change RHSA structure to be consistent with spec
''Reserved'' field is missed in current RHSA structure, and move the ''proximity domain'' field to the bottom. In addition, fix some indent issues. Signed-off-by: Weidong Han <weidong.han@intel.com> diff -r 8a9976f147c8 xen/include/xen/acpi.h --- a/xen/include/xen/acpi.h Thu Mar 25 17:55:59 2010 +0800 +++ b/xen/include/xen/acpi.h Thu Mar 25 18:02:46 2010 +0800 @@ -213,22 +213,23 @@ struct acpi_table_rmrr { struct acpi_table_rmrr { struct acpi_dmar_entry_header header; u16 reserved; - u16 segment; + u16 segment; u64 base_address; u64 end_address; } __attribute__ ((packed)); struct acpi_table_atsr { - struct acpi_dmar_entry_header header; - u8 flags; - u8 reserved; - u16 segment; + struct acpi_dmar_entry_header header; + u8 flags; + u8 reserved; + u16 segment; } __attribute__ ((packed)); struct acpi_table_rhsa { - struct acpi_dmar_entry_header header; - u32 proximity_domain; - u64 address; /* register base address for this drhd */ + struct acpi_dmar_entry_header header; + u32 reserved; + u64 address; /* register base address for this drhd */ + u32 proximity_domain; } __attribute__ ((packed)); enum acpi_dev_scope_type { _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Han, Weidong
2010-Mar-25 05:03 UTC
RE: [Xen-devel] [PATCH] VT-d: change RHSA structure to be consistent with spec
The indent in old patch is incorrect. Get them fixed in updated patch. Regards, Weidong -----Original Message----- From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Han, Weidong Sent: Thursday, March 25, 2010 9:48 AM To: xen-devel@lists.xensource.com Cc: Kay, Allen M; Keir Fraser Subject: [Xen-devel] [PATCH] VT-d: change RHSA structure to be consistent with spec ''Reserved'' field is missed in current RHSA structure, and move the ''proximity domain'' field to the bottom. In addition, fix some indent issues. Signed-off-by: Weidong Han <weidong.han@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel