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

[Xen-changelog] [xen-unstable] VT-d: change RHSA structure to be consistent with spec



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1269502989 0
# Node ID 9472f08ddd714a8427744febe39f6777e1b79645
# Parent  0a91254533dc27c62af1570abedf6524a1035b8e
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>
---
 xen/include/xen/acpi.h |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff -r 0a91254533dc -r 9472f08ddd71 xen/include/xen/acpi.h
--- a/xen/include/xen/acpi.h    Thu Mar 25 07:41:55 2010 +0000
+++ b/xen/include/xen/acpi.h    Thu Mar 25 07:43:09 2010 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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