ia64/xen-unstable

changeset 394:d1688684d94d

bitkeeper revision 1.184.1.5 (3ead21b5NyCUjG_aeWuPdnlHr3hUNA)

Merge boulderdash.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into boulderdash.cl.cam.ac.uk:/local/scratch/smh22/xeno.bk
author smh22@boulderdash.cl.cam.ac.uk
date Mon Apr 28 12:42:29 2003 +0000 (2003-04-28)
parents 561ef4670036 7c2130bbc0f7
children b42c882f9076 a8cf7c3a5af3 47d2a4460ed1
files xen/include/xeno/sched.h
line diff
     1.1 --- a/xen/include/xeno/sched.h	Mon Apr 28 12:25:28 2003 +0000
     1.2 +++ b/xen/include/xeno/sched.h	Mon Apr 28 12:42:29 2003 +0000
     1.3 @@ -72,6 +72,10 @@ struct task_struct {
     1.4      int hyp_events;              /* 08: pending intra-Xen events */
     1.5      unsigned int domain;         /* 12: domain id */
     1.6  
     1.7 +    // SMH: replace below when have explicit 'priv' flag or bitmask
     1.8 +#define IS_PRIV(_p) ((_p)->domain == 0) 
     1.9 +
    1.10 +
    1.11      /* An unsafe pointer into a shared data area. */
    1.12      shared_info_t *shared_info;  /* 16: shared data area */
    1.13