diff --git a/BaS_GNU/sources/sysinit.c b/BaS_GNU/sources/sysinit.c index b8582a4..2dc170e 100644 --- a/BaS_GNU/sources/sysinit.c +++ b/BaS_GNU/sources/sysinit.c @@ -805,8 +805,8 @@ void initialize_hardware(void) { *src++ = *dst++; } while (src < (uint8_t *) ©_end); - flushDataCacheRegion(Bas_base, (uint8_t *) ©_end - copy_start); - flushInstructionCacheRegion(Bas_base, (uint8_t *) ©_end - copy_start); + flushDataCacheRegion(&Bas_base, (uint8_t *) ©_end - copy_start); + flushInstructionCacheRegion(&Bas_base, (uint8_t *) ©_end - copy_start); __asm__ __volatile__( " .global _copy_start | \n\t"