|
|
@@ -302,6 +302,7 @@ void unused_interrupt_vector(void) |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|
__attribute__((section(".startup"), optimize("no-tree-loop-distribute-patterns"))) |
|
|
|
static void memory_copy(uint32_t *dest, const uint32_t *src, uint32_t *dest_end) |
|
|
|
{ |
|
|
|
if (dest == src) return; |
|
|
@@ -310,6 +311,7 @@ static void memory_copy(uint32_t *dest, const uint32_t *src, uint32_t *dest_end) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
__attribute__((section(".startup"), optimize("no-tree-loop-distribute-patterns"))) |
|
|
|
static void memory_clear(uint32_t *dest, uint32_t *dest_end) |
|
|
|
{ |
|
|
|
while (dest < dest_end) { |