L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
l4int.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#pragma once
13
18
19#define L4_MWORD_BITS __riscv_xlen
20
21#if __riscv_xlen == 64
22typedef unsigned long l4_size_t;
23typedef signed long l4_ssize_t;
24#else
25typedef unsigned int l4_size_t;
26typedef signed int l4_ssize_t;
27#endif
unsigned int l4_size_t
Unsigned size type.
Definition l4int.h:22
signed int l4_ssize_t
Signed size type.
Definition l4int.h:23