]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/sigma0/server/src/globals.h
update
[l4.git] / l4 / pkg / sigma0 / server / src / globals.h
1 /*
2  * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
3  *               Alexander Warg <warg@os.inf.tu-dresden.de>
4  *     economic rights: Technische Universität Dresden (Germany)
5  *
6  * This file is part of TUD:OS and distributed under the terms of the
7  * GNU General Public License 2.
8  * Please see the COPYING-GPL-2 file for details.
9  */
10 #ifndef GLOBALS_H
11 #define GLOBALS_H
12
13 #include <l4/sys/types.h>
14
15 /* Special options for compatibility reasons */
16
17 enum {
18   debug_errors        = 1,
19   debug_warnings      = 0,
20   debug_ipc           = 0,
21   debug_memory_maps   = 1,
22
23 };
24
25 /* globals defined here (when included from globals.c) */
26 #define PROG_NAME "SIGMA0"
27
28 enum {
29   sigma0_taskno = 2,
30   root_taskno = 4
31 };
32
33 extern "C" void L4_NORETURN _exit(int);
34
35 inline void L4_NORETURN abort()
36 {
37   _exit(1);
38 }
39
40 #endif