calculation of cache flush adresses was wrong
This commit is contained in:
@@ -805,8 +805,8 @@ void initialize_hardware(void) {
|
|||||||
*src++ = *dst++;
|
*src++ = *dst++;
|
||||||
} while (src < (uint8_t *) ©_end);
|
} while (src < (uint8_t *) ©_end);
|
||||||
|
|
||||||
flushDataCacheRegion(Bas_base, (uint8_t *) ©_end - copy_start);
|
flushDataCacheRegion(&Bas_base, (uint8_t *) ©_end - copy_start);
|
||||||
flushInstructionCacheRegion(Bas_base, (uint8_t *) ©_end - copy_start);
|
flushInstructionCacheRegion(&Bas_base, (uint8_t *) ©_end - copy_start);
|
||||||
|
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
" .global _copy_start | \n\t"
|
" .global _copy_start | \n\t"
|
||||||
|
|||||||
Reference in New Issue
Block a user