Loading...
Searching...
No Matches
architecture_arch.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Otto-von-Guericke-Universität Magdeburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/* Doc is provided centrally in architecture.h, hide this from Doxygen */
24#ifndef DOXYGEN
25# if __riscv_xlen == 64
26# define ARCHITECTURE_WORD_BITS (64U)
27# else
28# define ARCHITECTURE_WORD_BITS (32U)
29# endif
30#endif /* DOXYGEN */
31
32#ifdef __cplusplus
33}
34#endif
35