attr.h File Reference
CPU-specific attributes. More...
#include "detect.h"
#include <cfg/compiler.h>
#include <cfg/arch_config.h>
#include "appconfig.h"
Go to the source code of this file.
Defines | |
| #define | CPU_HEADER(module) PP_STRINGIZE(drv/PP_CAT3(module, _, CPU_ID).h) |
| Macro to include cpu-specific versions of the headers. | |
| #define | CPU_CSOURCE(module) PP_STRINGIZE(drv/PP_CAT3(module, _, CPU_ID).c) |
| Macro to include cpu-specific versions of implementation files. | |
| #define | CPU_REG_INIT_VALUE(reg) 0 |
| Default for macro not defined in the right arch section. | |
| #define | CPU_IDLE do { /* nothing */ } while (0) |
| Invoked by the scheduler to stop the CPU when idle. | |
Macros for determining CPU endianness. | |
| #define | CPU_BIG_ENDIAN 0x1234 |
| #define | CPU_LITTLE_ENDIAN 0x3412 |
Detailed Description
CPU-specific attributes.
Definition in file attr.h.
Define Documentation
| #define CPU_CSOURCE | ( | module | ) | PP_STRINGIZE(drv/PP_CAT3(module, _, CPU_ID).c) |
| #define CPU_HEADER | ( | module | ) | PP_STRINGIZE(drv/PP_CAT3(module, _, CPU_ID).h) |
| #define CPU_IDLE do { /* nothing */ } while (0) |
