]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/cxx_thread/src/ARCH-sparc/thread-arch.cc
Update
[l4.git] / l4 / pkg / cxx_thread / src / ARCH-sparc / thread-arch.cc
1 /*
2  * (c) 2004-2009 Alexander Warg <warg@os.inf.tu-dresden.de>
3  *     economic rights: Technische Universität Dresden (Germany)
4  * This file is part of TUD:OS and distributed under the terms of the
5  * GNU Lesser General Public License 2.1.
6  * Please see the COPYING-LGPL-2.1 file for details.
7  */
8
9 #include <l4/cxx/thread>
10
11 void L4_cxx_start(void);
12
13 void L4_cxx_start(void)
14 {
15   asm volatile (".global L4_Thread_start_cxx_thread \n"
16                 "L4_Thread_start_cxx_thread:        \n"
17                                 "ta 6 \n");
18 }
19
20 void L4_cxx_kill(void);
21
22 void L4_cxx_kill(void)
23 {
24   asm volatile (".global L4_Thread_kill_cxx_thread \n"
25                 "L4_Thread_kill_cxx_thread:        \n"
26                                 "ta 6 \n");
27 }
28