aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-03-25 07:43:09 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-03-25 07:43:09 +0000
commit7b203cca89af0d7599ba3e9798d5102dcd1874a8 (patch)
tree0ca4e6d34877d8fa78830019eb63d57e0f3d1d00
parent8c2f103b2230456ffc00497d9b74f5725e28afe9 (diff)
downloadxen-7b203cca89af0d7599ba3e9798d5102dcd1874a8.tar.gz
xen-7b203cca89af0d7599ba3e9798d5102dcd1874a8.tar.bz2
xen-7b203cca89af0d7599ba3e9798d5102dcd1874a8.zip
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>
-rw-r--r--xen/include/xen/acpi.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/xen/include/xen/acpi.h b/xen/include/xen/acpi.h
index 63d2ff0df5..43b81536bf 100644
--- a/xen/include/xen/acpi.h
+++ b/xen/include/xen/acpi.h
@@ -213,22 +213,23 @@ struct acpi_table_drhd {
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 {