Pregunta de entrevista de GSI Technology

Part 1: Implement a function that copies data from a source address to a destination address (just a one liner wrapper which uses memcpy). Part 2 : You now also have an API that triggers a DMA that can copy data efficiently, but it has a limitation that both the source address and the transfer length must be 8-byte aligned. Use this DMA API, and the API you wrote in part 1, to write an API that can copy any size of data from any source address to any destination.