debuggers.hg

changeset 21110:9472f08ddd71

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>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 25 07:43:09 2010 +0000 (2010-03-25)
parents 0a91254533dc
children e362fab06d42
files xen/include/xen/acpi.h
line diff
     1.1 --- a/xen/include/xen/acpi.h	Thu Mar 25 07:41:55 2010 +0000
     1.2 +++ b/xen/include/xen/acpi.h	Thu Mar 25 07:43:09 2010 +0000
     1.3 @@ -213,22 +213,23 @@ struct acpi_table_drhd {
     1.4  struct acpi_table_rmrr {
     1.5  	struct	acpi_dmar_entry_header header;
     1.6  	u16	reserved;
     1.7 -       u16     segment;
     1.8 +	u16	segment;
     1.9  	u64	base_address;
    1.10  	u64	end_address;
    1.11  } __attribute__ ((packed));
    1.12  
    1.13  struct acpi_table_atsr {
    1.14 -        struct  acpi_dmar_entry_header header;
    1.15 -        u8      flags;
    1.16 -        u8      reserved;
    1.17 -        u16     segment;
    1.18 +	struct	acpi_dmar_entry_header header;
    1.19 +	u8	flags;
    1.20 +	u8	reserved;
    1.21 +	u16	segment;
    1.22  } __attribute__ ((packed));
    1.23  
    1.24  struct acpi_table_rhsa {
    1.25 -        struct  acpi_dmar_entry_header header;
    1.26 -        u32     proximity_domain;
    1.27 -        u64     address; /* register base address for this drhd */
    1.28 +	struct	acpi_dmar_entry_header header;
    1.29 +	u32	reserved;
    1.30 +	u64	address; /* register base address for this drhd */
    1.31 +	u32	proximity_domain;
    1.32  } __attribute__ ((packed));
    1.33  
    1.34  enum acpi_dev_scope_type {