Which architecture this is being built for, and what that architecture gives a clock. More...
#include "mmgr.h"Go to the source code of this file.
Macros | |
| #define | PRAET_PLATFORM_ARM |
| Set where this is an ARM build, in either execution state. | |
| #define | PRAET_PLATFORM_RISCV |
| Set where this is a RISC-V build, at any register width. | |
| #define | PRAET_PLATFORM_XTENSA |
| Set where this is an Xtensa build. | |
| #define | PRAET_PLATFORM_HOST |
| Set where this is none of the three, which is a host build. | |
| #define | PRAET_PLATFORM_NAME |
| What to call this architecture in a diagnostic. | |
| #define | PRAET_PLATFORM_HAS_CYCLE_COUNTER |
| Set where the architecture defines a counter the port can read without the caller running one. | |
| #define | PRAET_PLATFORM_XLEN |
| Bits in this architecture's general purpose register. | |
| #define | PRAET_PLATFORM_UNALIGNED_LOADS |
| Set where the architecture loads and stores at an address that is not aligned to the size. | |
| #define | PRAET_PLATFORM_CLOCK_CORE |
| The core a platform default pins a timer to. | |
Which architecture this is being built for, and what that architecture gives a clock.
Sources for the macros used below: Arm C Language Extensions https://arm-software.github.io/acle/main/acle.html RISC-V C API specification https://github.com/riscv-non-isa/riscv-c-api-doc GCC gcc/config/xtensa/xtensa.h TARGET_CPU_CPP_BUILTINS
Definition in file praet_platform_detection.h.
| #define PRAET_PLATFORM_ARM |
Set where this is an ARM build, in either execution state.
Definition at line 42 of file praet_platform_detection.h.
| #define PRAET_PLATFORM_RISCV |
Set where this is a RISC-V build, at any register width.
Definition at line 54 of file praet_platform_detection.h.
| #define PRAET_PLATFORM_XTENSA |
Set where this is an Xtensa build.
Definition at line 67 of file praet_platform_detection.h.
| #define PRAET_PLATFORM_HOST |
Set where this is none of the three, which is a host build.
Definition at line 74 of file praet_platform_detection.h.
| #define PRAET_PLATFORM_NAME |
What to call this architecture in a diagnostic.
Definition at line 283 of file praet_platform_detection.h.
| #define PRAET_PLATFORM_HAS_CYCLE_COUNTER |
Set where the architecture defines a counter the port can read without the caller running one.
Definition at line 293 of file praet_platform_detection.h.
| #define PRAET_PLATFORM_XLEN |
Bits in this architecture's general purpose register.
Definition at line 307 of file praet_platform_detection.h.
| #define PRAET_PLATFORM_UNALIGNED_LOADS |
Set where the architecture loads and stores at an address that is not aligned to the size.
Definition at line 313 of file praet_platform_detection.h.
| #define PRAET_PLATFORM_CLOCK_CORE |
The core a platform default pins a timer to.
Definition at line 330 of file praet_platform_detection.h.