Contiki 3.x
mtarch.c
1 /*
2  * Copyright (c) 2008
3  * Telecooperation Office (TecO), Universitaet Karlsruhe (TH), Germany.
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions
8  * are met:
9  * 1. Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  * 2. Redistributions in binary form must reproduce the above
12  * copyright notice, this list of conditions and the following
13  * disclaimer in the documentation and/or other materials provided
14  * with the distribution.
15  * 3. Neither the name of the Universitaet Karlsruhe (TH) nor the names
16  * of its contributors may be used to endorse or promote products
17  * derived from this software without specific prior written
18  * permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  * Author(s): Philipp Scholl <scholl@teco.edu>
33  */
34 
35 /* Copied from Philipp Scholl's (BSD) Contiki port to Jennic */
36 
37 #include "mtarch.h"
38 
39 void
41 {
42 }
43 void
45 {
46 }
47 void
48 mtarch_start(struct mtarch_thread *thread,
49  void (*function)(void *data),
50  void *data)
51 {
52 }
53 void
55 {
56 }
57 void
58 mtarch_exec(struct mtarch_thread *thread)
59 {
60 }
61 void
62 mtarch_stop(struct mtarch_thread *thread)
63 {
64 }
65 void
66 mtarch_pstart(void)
67 {
68 }
69 void
70 mtarch_pstop(void)
71 {
72 }
void mtarch_remove(void)
Uninstall library and clean up.
Definition: mtarch.c:54
void mtarch_yield(void)
Yield the processor.
Definition: mtarch.c:89
void mtarch_init(void)
Initialize the architecture specific support functions for the multi-thread library.
Definition: mtarch.c:49
void mtarch_start(struct mtarch_thread *thread, void(*function)(void *data), void *data)
Setup the stack frame for a thread that is being started.
Definition: mtarch.c:59
void mtarch_exec(struct mtarch_thread *thread)
Start executing a thread.
Definition: mtarch.c:95
Copyright (c) 2014, Analog Devices, Inc.
Definition: mtarch.h:42
void mtarch_stop(struct mtarch_thread *thread)
Clean up the stack of a thread.
Definition: mtarch.c:110