From 3ec170cdf50ffc47fb6c4d804cd45f8df22db79d Mon Sep 17 00:00:00 2001 From: fros4943 Date: Wed, 27 Aug 2008 13:10:29 +0000 Subject: [PATCH] added empty mtarch_stop() --- cpu/msp430/mtarch.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/cpu/msp430/mtarch.c b/cpu/msp430/mtarch.c index a4cba48ce..3bbafc829 100644 --- a/cpu/msp430/mtarch.c +++ b/cpu/msp430/mtarch.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: mtarch.c,v 1.4 2007/09/14 20:21:01 nvt-se Exp $ + * @(#)$Id: mtarch.c,v 1.5 2008/08/27 13:10:29 fros4943 Exp $ */ #include @@ -39,7 +39,7 @@ void mtarch_init(void) { - + } /*--------------------------------------------------------------------------*/ void @@ -72,7 +72,7 @@ sw(void) { sptmp = running->sp; - + __asm__("push r4"); __asm__("push r5"); __asm__("push r6"); @@ -85,7 +85,7 @@ sw(void) __asm__("push r13"); __asm__("push r14"); __asm__("push r15"); - + __asm__("mov.w r1,%0" : "=r" (running->sp)); __asm__("mov.w %0,r1" : : "m" (sptmp)); @@ -126,13 +126,19 @@ mtarch_yield(void) void mtarch_pstop(void) { - + } /*--------------------------------------------------------------------------*/ void mtarch_pstart(void) { - + +} +/*--------------------------------------------------------------------------*/ +void +mtarch_stop(struct mtarch_thread *thread) +{ + } /*--------------------------------------------------------------------------*/ int