L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
consts.h
Go to the documentation of this file.
1
6/*
7 * Copyright (C) 2021, 2024 Kernkonzept GmbH.
8 * Author(s): Georg Kotheimer <georg.kotheimer@kernkonzept.com>
9 *
10 * License: see LICENSE.spdx (in this directory or the directories above)
11 */
12#ifndef _L4_SYS_CONSTS_H
13#define _L4_SYS_CONSTS_H
14
15/* L4 includes */
16#include <l4/sys/l4int.h>
17
22#define L4_PAGESHIFT 12 // 4K pages
23
28#if __riscv_xlen == 32
29#define L4_SUPERPAGESHIFT 22
30#else
31#define L4_SUPERPAGESHIFT 21
32#endif
33
34#endif /* !_L4_SYS_CONSTS_H */
Fixed sized integer types, generic version.