aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/sched-if.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-04-04 16:55:15 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-04-04 16:55:15 +0000
commit976f6fc92c5e643e0a2808d2694e96d0c472f060 (patch)
tree6bb2ea7bf9120b849141a97f84a869dfb8f2fad6 /xen/include/xen/sched-if.h
parent275ad12c9b50fb8429406c84fd45ba29ffb62ad1 (diff)
downloadxen-976f6fc92c5e643e0a2808d2694e96d0c472f060.tar.gz
xen-976f6fc92c5e643e0a2808d2694e96d0c472f060.tar.bz2
xen-976f6fc92c5e643e0a2808d2694e96d0c472f060.zip
bitkeeper revision 1.1236.1.209 (42517173PR-QieAWB-SNd4qnSxKmMQ)
Remove broken atropos and round-robin schedulers. Clean up the scheduler plugin interface a little. 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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h
index c9fdd23702..3e352f4fe8 100644
--- a/xen/include/xen/sched-if.h
+++ b/xen/include/xen/sched-if.h
@@ -30,7 +30,7 @@ struct scheduler {
char *opt_name; /* option name for this scheduler */
unsigned int sched_id; /* ID for this scheduler */
- int (*init_scheduler) ();
+ int (*init_scheduler) (void);
int (*init_idle_task) (struct exec_domain *);
int (*alloc_task) (struct exec_domain *);
void (*add_task) (struct exec_domain *);
@@ -38,14 +38,12 @@ struct scheduler {
void (*rem_task) (struct exec_domain *);
void (*sleep) (struct exec_domain *);
void (*wake) (struct exec_domain *);
- void (*do_block) (struct exec_domain *);
struct task_slice (*do_schedule) (s_time_t);
int (*control) (struct sched_ctl_cmd *);
int (*adjdom) (struct domain *,
struct sched_adjdom_cmd *);
void (*dump_settings) (void);
void (*dump_cpu_state) (int);
- int (*prn_state) (int);
};
extern struct schedule_data schedule_data[];