summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cc09f32)
#define PAUSE asm volatile ("wfi" ::: "memory")
#define BREAKPOINT /* asm("bkpt 0") DOES NOT WORK */
#define PAUSE asm volatile ("wfi" ::: "memory")
#define BREAKPOINT /* asm("bkpt 0") DOES NOT WORK */
+ /*
+ * Function attribute to move it into ram memory.
+ */
+ #define RAM_FUNC __attribute__((section(".data")))
+
#elif CPU_PPC
#define CPU_REG_BITS (CPU_PPC32 ? 32 : 64)
#elif CPU_PPC
#define CPU_REG_BITS (CPU_PPC32 ? 32 : 64)