nop
_endasm;
}
+ __critical while (!ao_intflash_dma_done)
+ ao_sleep(&ao_intflash_dma_done);
}
static void
{
if (pos >= ao_storage_total || pos + len > ao_storage_total)
return 0;
- memcpy(d, ao_intflash+pos, len);
+ ao_xmemcpy(d, ao_intflash+pos, len);
return 1;
}