From 94eab47b26cc73b9d5a6cd2f57f921a1ebf3f80c Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 28 Sep 2020 13:24:26 +0200 Subject: [PATCH] cpu/fe310: Add architecture_arch.h --- cpu/fe310/include/architecture_arch.h | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 cpu/fe310/include/architecture_arch.h diff --git a/cpu/fe310/include/architecture_arch.h b/cpu/fe310/include/architecture_arch.h new file mode 100644 index 0000000000..b2f1b7f9d2 --- /dev/null +++ b/cpu/fe310/include/architecture_arch.h @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @ingroup cpu_fe310 + * @{ + * + * @file + * @brief Architecture details + * + * @author Marian Buschsieweke + * + */ + +#ifndef ARCHITECTURE_ARCH_H +#define ARCHITECTURE_ARCH_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* Doc is provided centrally in architecture.h, hide this from Doxygen */ +#ifndef DOXYGEN +#define ARCHITECTURE_WORD_BITS (32U) +#endif /* DOXYGEN */ + +#ifdef __cplusplus +} +#endif + +/** @} */ +#endif /* ARCHITECTURE_ARCH_H */