[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxx>

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 {

Attachment: rhsa.patch
Description: rhsa.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.