Module: xenomai-forge Branch: master Commit: e1c67ed207f348968410eac515f6705e2d2349cb URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=e1c67ed207f348968410eac515f6705e2d2349cb
Author: Philippe Gerum <r...@xenomai.org> Date: Sun Jan 1 18:55:40 2012 +0100 nucleus: drop dashboard control code This was instantiated in simulation mode only. --- include/cobalt/nucleus/heap.h | 2 -- include/cobalt/nucleus/synch.h | 2 -- include/cobalt/nucleus/thread.h | 2 -- include/cobalt/nucleus/timer.h | 2 -- kernel/cobalt/nucleus/heap.c | 2 -- kernel/cobalt/nucleus/synch.c | 11 ----------- kernel/cobalt/nucleus/thread.c | 2 -- kernel/cobalt/nucleus/timer.c | 2 -- 8 files changed, 0 insertions(+), 25 deletions(-) diff --git a/include/cobalt/nucleus/heap.h b/include/cobalt/nucleus/heap.h index 93effe2..83e62cd 100644 --- a/include/cobalt/nucleus/heap.h +++ b/include/cobalt/nucleus/heap.h @@ -116,8 +116,6 @@ typedef struct xnheap { /* Callback upon last munmap. */ void (*release)(struct xnheap *heap); - XNARCH_DECL_DISPLAY_CONTEXT(); - xnholder_t stat_link; /* Link in heapq */ char label[XNOBJECT_NAME_LEN+16]; diff --git a/include/cobalt/nucleus/synch.h b/include/cobalt/nucleus/synch.h index 9b77a13..6038a59 100644 --- a/include/cobalt/nucleus/synch.h +++ b/include/cobalt/nucleus/synch.h @@ -109,8 +109,6 @@ typedef struct xnsynch { void (*cleanup)(struct xnsynch *synch); /* Cleanup handler */ - XNARCH_DECL_DISPLAY_CONTEXT(); - } xnsynch_t; #define xnsynch_test_flags(synch,flags) testbits((synch)->status,flags) diff --git a/include/cobalt/nucleus/thread.h b/include/cobalt/nucleus/thread.h index eef11b4..b6f0935 100644 --- a/include/cobalt/nucleus/thread.h +++ b/include/cobalt/nucleus/thread.h @@ -300,8 +300,6 @@ typedef struct xnthread { u32 proghash; /* Hash value for exe_path */ #endif - XNARCH_DECL_DISPLAY_CONTEXT(); - #ifdef CONFIG_XENO_LEGACY_IPIPE struct ipipe_threadinfo ipipe_data; #endif diff --git a/include/cobalt/nucleus/timer.h b/include/cobalt/nucleus/timer.h index 8b34093..04f5479 100644 --- a/include/cobalt/nucleus/timer.h +++ b/include/cobalt/nucleus/timer.h @@ -303,8 +303,6 @@ typedef struct xntimer { xnstat_counter_t fired; /* !< Number of timer events. */ - XNARCH_DECL_DISPLAY_CONTEXT(); - } xntimer_t; #ifdef CONFIG_SMP diff --git a/kernel/cobalt/nucleus/heap.c b/kernel/cobalt/nucleus/heap.c index 1660dd3..e8f6f50 100644 --- a/kernel/cobalt/nucleus/heap.c +++ b/kernel/cobalt/nucleus/heap.c @@ -335,8 +335,6 @@ int xnheap_init(xnheap_t *heap, xnvfile_touch_tag(&vfile_tag); xnlock_put_irqrestore(&nklock, s); - xnarch_init_display_context(heap); - return 0; } EXPORT_SYMBOL_GPL(xnheap_init); diff --git a/kernel/cobalt/nucleus/synch.c b/kernel/cobalt/nucleus/synch.c index 0497481..e8039b7 100644 --- a/kernel/cobalt/nucleus/synch.c +++ b/kernel/cobalt/nucleus/synch.c @@ -118,7 +118,6 @@ void xnsynch_init(struct xnsynch *synch, xnflags_t flags, xnarch_atomic_t *fastl } else synch->fastlock = NULL; initpq(&synch->pendq); - xnarch_init_display_context(synch); } EXPORT_SYMBOL_GPL(xnsynch_init); @@ -254,8 +253,6 @@ struct xnthread *xnsynch_wakeup_one_sleeper(struct xnsynch *synch) xnlock_put_irqrestore(&nklock, s); - xnarch_post_graph_if(synch, 0, emptypq_p(&synch->pendq)); - return thread; } EXPORT_SYMBOL_GPL(xnsynch_wakeup_one_sleeper); @@ -287,8 +284,6 @@ int xnsynch_wakeup_many_sleepers(struct xnsynch *synch, int nr) xnlock_put_irqrestore(&nklock, s); - xnarch_post_graph_if(synch, 0, emptypq_p(&synch->pendq)); - return nr; } EXPORT_SYMBOL_GPL(xnsynch_wakeup_many_sleepers); @@ -357,8 +352,6 @@ struct xnpholder *xnsynch_wakeup_this_sleeper(struct xnsynch *synch, struct xnph xnlock_put_irqrestore(&nklock, s); - xnarch_post_graph_if(synch, 0, emptypq_p(&synch->pendq)); - return nholder; } EXPORT_SYMBOL_GPL(xnsynch_wakeup_this_sleeper); @@ -883,8 +876,6 @@ int xnsynch_flush(struct xnsynch *synch, xnflags_t reason) xnlock_put_irqrestore(&nklock, s); - xnarch_post_graph_if(synch, 0, emptypq_p(&synch->pendq)); - return status; } EXPORT_SYMBOL_GPL(xnsynch_flush); @@ -949,8 +940,6 @@ void xnsynch_forget_sleeper(struct xnthread *thread) } } } - - xnarch_post_graph_if(synch, 0, emptypq_p(&synch->pendq)); } EXPORT_SYMBOL_GPL(xnsynch_forget_sleeper); diff --git a/kernel/cobalt/nucleus/thread.c b/kernel/cobalt/nucleus/thread.c index 5ad78d9..e5899af 100644 --- a/kernel/cobalt/nucleus/thread.c +++ b/kernel/cobalt/nucleus/thread.c @@ -165,8 +165,6 @@ int xnthread_init(struct xnthread *thread, if (ret) goto fail; - xnarch_init_display_context(thread); - return 0; fail: diff --git a/kernel/cobalt/nucleus/timer.c b/kernel/cobalt/nucleus/timer.c index 29c1930..d09449b 100644 --- a/kernel/cobalt/nucleus/timer.c +++ b/kernel/cobalt/nucleus/timer.c @@ -619,8 +619,6 @@ void __xntimer_init(xntimer_t *timer, void (*handler) (xntimer_t *timer)) #else (void)s; #endif /* CONFIG_XENO_OPT_STATS */ - - xnarch_init_display_context(timer); } EXPORT_SYMBOL_GPL(__xntimer_init); _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git