diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-06-02 21:05:33 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-06-02 21:05:33 +0000 |
commit | dc33311d827818f8c893b88d89bf015327c79a42 (patch) | |
tree | f724a627d86ed052c2b4d1c816af731d6d6d8f90 /xen/include/xen/sched-if.h | |
parent | b5290d3405646879575efe051dc479e7117729a1 (diff) | |
download | xen-dc33311d827818f8c893b88d89bf015327c79a42.tar.gz xen-dc33311d827818f8c893b88d89bf015327c79a42.tar.bz2 xen-dc33311d827818f8c893b88d89bf015327c79a42.zip |
bitkeeper revision 1.1644.1.1 (429f749dKFzVUg9NXDMVu4apHJvpNQ)
The last annoying rename:
struct exec_domain *ed -> struct vcpu *v
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/sched-if.h')
-rw-r--r-- | xen/include/xen/sched-if.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h index 47fb6452f0..58c33e8b3c 100644 --- a/xen/include/xen/sched-if.h +++ b/xen/include/xen/sched-if.h @@ -13,8 +13,8 @@ struct schedule_data { spinlock_t schedule_lock; /* spinlock protecting curr */ - struct exec_domain *curr; /* current task */ - struct exec_domain *idle; /* idle task for this cpu */ + struct vcpu *curr; /* current task */ + struct vcpu *idle; /* idle task for this cpu */ void *sched_priv; struct ac_timer s_timer; /* scheduling timer */ unsigned long tick; /* current periodic 'tick' */ @@ -24,7 +24,7 @@ struct schedule_data { } __cacheline_aligned; struct task_slice { - struct exec_domain *task; + struct vcpu *task; s_time_t time; }; @@ -33,12 +33,12 @@ struct scheduler { char *opt_name; /* option name for this scheduler */ unsigned int sched_id; /* ID for this scheduler */ - int (*alloc_task) (struct exec_domain *); - void (*add_task) (struct exec_domain *); + int (*alloc_task) (struct vcpu *); + void (*add_task) (struct vcpu *); void (*free_task) (struct domain *); - void (*rem_task) (struct exec_domain *); - void (*sleep) (struct exec_domain *); - void (*wake) (struct exec_domain *); + void (*rem_task) (struct vcpu *); + void (*sleep) (struct vcpu *); + void (*wake) (struct vcpu *); struct task_slice (*do_schedule) (s_time_t); int (*control) (struct sched_ctl_cmd *); int (*adjdom) (struct domain *, |