From: hongzha1 Subject: [PATCH v3 6/7][wip/dovetail] cobalt/intr: post proxy tick irq instead of host tick irq Date: Wed, 28 Oct 2020 22:15:39 -0400 Message-Id: <20201029021540.2824-6-hongzhan.chen@intel.com> List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org, jan.kiszka@siemens.com make use of dovetail proxy tick infastructure in place of host tick Signed-off-by: hongzha1 --- kernel/cobalt/intr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/cobalt/intr.c b/kernel/cobalt/intr.c index 8ffe7f2b6..36eb6c93c 100644 --- a/kernel/cobalt/intr.c +++ b/kernel/cobalt/intr.c @@ -21,6 +21,7 @@ #include /*#include #include */ +#include #include #include #include @@ -188,8 +189,8 @@ void xnintr_host_tick(struct xnsched *sched) /* Interrupts off. */ { sched->lflags &= ~XNHTICK; #ifdef XNARCH_HOST_TICK_IRQ - //ipipe_post_irq_root(XNARCH_HOST_TICK_IRQ); -#warning TODO + /* use proxy tick to replace host tick */ + tick_notify_proxy(); #endif } @@ -205,8 +206,7 @@ void xnintr_core_clock_handler(void) if (!xnsched_supported_cpu(cpu)) { #ifdef XNARCH_HOST_TICK_IRQ - //ipipe_post_irq_root(XNARCH_HOST_TICK_IRQ); -#warning TODO + tick_notify_proxy(); #endif return; } -- 2.17.1