|
ChibiOS/RT
2.5.1 |
ARM Cortex-Mx port macros and structures.
Definition in file ports/RVCT/ARMCMx/chcore.h.
Go to the source code of this file.
Data Structures | |
| struct | extctx |
| Interrupt saved context. More... | |
| struct | intctx |
| System saved context. More... | |
Defines | |
| #define | CORTEX_M0 0 |
| Cortex-M0 variant. | |
| #define | CORTEX_M1 1 |
| Cortex-M1 variant. | |
| #define | CORTEX_M3 3 |
| Cortex-M3 variant. | |
| #define | CORTEX_M4 4 |
| Cortex-M4 variant. | |
| #define | CORTEX_PRIORITY_LEVELS (1 << CORTEX_PRIORITY_BITS) |
| Total priority levels. | |
| #define | CORTEX_MINIMUM_PRIORITY (CORTEX_PRIORITY_LEVELS - 1) |
| Minimum priority level. | |
| #define | CORTEX_MAXIMUM_PRIORITY 0 |
| Maximum priority level. | |
| #define | CORTEX_IS_VALID_PRIORITY(n) (((n) >= 0) && ((n) < CORTEX_PRIORITY_LEVELS)) |
| Priority level verification macro. | |
| #define | CORTEX_IS_VALID_KERNEL_PRIORITY(n) (((n) >= CORTEX_MAX_KERNEL_PRIORITY) && ((n) < CORTEX_PRIORITY_LEVELS)) |
| Priority level verification macro. | |
| #define | CORTEX_PRIORITY_MASK(n) ((n) << (8 - CORTEX_PRIORITY_BITS)) |
| Priority level to priority mask conversion macro. | |
| #define | CH_ARCHITECTURE_ARM |
| Macro defining a generic ARM architecture. | |
| #define | CH_COMPILER_NAME "RVCT" |
| Name of the compiler supported by this port. | |
| #define | PORT_OPTIMIZED_ISPREEMPTIONREQUIRED |
Excludes the default chSchIsPreemptionRequired()implementation. | |
| #define | chSchIsPreemptionRequired() |
| Inline-able version of this kernel function. | |
Typedefs | |
| typedef uint64_t | stkalign_t |
| Stack and memory alignment enforcement. | |