ia64/xen-unstable

changeset 16211:8cea24cf57c7

[IA64] Minor fixes in domain.h

Add unsigned, rid_bits is now u8.
Reformat comments.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author Alex Williamson <alex.williamson@hp.com>
date Wed Oct 24 11:18:10 2007 -0600 (2007-10-24)
parents 71fcc70ea78b
children 359484cee7d9
files xen/include/asm-ia64/domain.h
line diff
     1.1 --- a/xen/include/asm-ia64/domain.h	Wed Oct 24 11:14:13 2007 -0600
     1.2 +++ b/xen/include/asm-ia64/domain.h	Wed Oct 24 11:18:10 2007 -0600
     1.3 @@ -137,17 +137,17 @@ struct arch_domain {
     1.4         one big range, used to virtualize domain RID,
     1.5         one small range for internal Xen use (metaphysical).  */
     1.6      /* Big range.  */
     1.7 -    int starting_rid;		/* first RID assigned to domain */
     1.8 -    int ending_rid;		/* one beyond highest RID assigned to domain */
     1.9 +    unsigned int starting_rid;	/* first RID assigned to domain */
    1.10 +    unsigned int ending_rid;	/* one beyond highest RID assigned to domain */
    1.11      /* Metaphysical range.  */
    1.12 -    int starting_mp_rid;
    1.13 -    int ending_mp_rid;
    1.14 +    unsigned int starting_mp_rid;
    1.15 +    unsigned int ending_mp_rid;
    1.16      /* RID for metaphysical mode.  */
    1.17 -    unsigned long metaphysical_rid_dt;	/* dt=it=0  */
    1.18 -    unsigned long metaphysical_rid_d;  /* dt=0, it=1  */
    1.19 +    unsigned int metaphysical_rid_dt;	/* dt=it=0  */
    1.20 +    unsigned int metaphysical_rid_d;    /* dt=0, it=1  */
    1.21      
    1.22 -    int rid_bits;		/* number of virtual rid bits (default: 18) */
    1.23 -    int breakimm;     /* The imm value for hypercalls.  */
    1.24 +    unsigned char rid_bits;		/* number of virtual rid bits (default: 18) */
    1.25 +    int breakimm;               /* The imm value for hypercalls.  */
    1.26  
    1.27      struct virtual_platform_def     vmx_platform;
    1.28  #define	hvm_domain vmx_platform /* platform defs are not vmx specific */