architecture_arch.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg
3  * 2021 Gerson Fernando Budke
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
22 #ifndef ARCHITECTURE_ARCH_H
23 #define ARCHITECTURE_ARCH_H
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 /* Doc is provided centrally in platform.h, hide this from Doxygen */
30 #ifndef DOXYGEN
31 #define ARCHITECTURE_WORD_BITS (8U)
32 
33 #define ARCHITECTURE_LARGE_TXT_PTR 1
34 typedef uint32_t uinttxtptr_t;
35 #define PRIxTXTPTR PRIx32
36 #endif /* DOXYGEN */
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
43 #endif /* ARCHITECTURE_ARCH_H */
uintptr_t uinttxtptr_t
Pointer type to point anywhere in the .text section.
Definition: architecture.h:136