]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4sys/include/ARCH-amd64/consts.h
update
[l4.git] / l4 / pkg / l4sys / include / ARCH-amd64 / consts.h
1 /*****************************************************************************/
2 /**
3  * \file
4  * \brief   Common L4 constants, amd64 version.
5  * \ingroup l4_api
6  */
7 /*
8  * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
9  *               Alexander Warg <warg@os.inf.tu-dresden.de>,
10  *               Björn Döbel <doebel@os.inf.tu-dresden.de>,
11  *               Torsten Frenzel <frenzel@os.inf.tu-dresden.de>
12  *     economic rights: Technische Universität Dresden (Germany)
13  *
14  * This file is part of TUD:OS and distributed under the terms of the
15  * GNU General Public License 2.
16  * Please see the COPYING-GPL-2 file for details.
17  *
18  * As a special exception, you may use this file as part of a free software
19  * library without restriction.  Specifically, if other files instantiate
20  * templates or use macros or inline functions from this file, or you compile
21  * this file and link it with other files to produce an executable, this
22  * file does not by itself cause the resulting executable to be covered by
23  * the GNU General Public License.  This exception does not however
24  * invalidate any other reasons why the executable file might be covered by
25  * the GNU General Public License.
26  */
27 /*****************************************************************************/
28 #ifndef __L4SYS__INCLUDE__ARCH_AMD64__CONSTS_H__
29 #define __L4SYS__INCLUDE__ARCH_AMD64__CONSTS_H__
30
31 /**
32  * Size of a page, log2-based.
33  * \ingroup l4_memory_api
34  */
35 #define L4_PAGESHIFT            12
36
37 /**
38  * Size of a large page, log2-based.
39  * \ingroup l4_memory_api
40  */
41 #define L4_SUPERPAGESHIFT       21
42
43 #include_next <l4/sys/consts.h>
44
45 #endif /* ! __L4SYS__INCLUDE__ARCH_AMD64__CONSTS_H__ */