12.07.2015 Views

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Intel</strong> ® GW80314 I/O <strong>Processor</strong> <strong>DMA</strong> <strong>and</strong> <strong>XOR</strong> <strong>Library</strong><strong>Library</strong> Flow ChartsBuffer Manager(6) Get descriptor <strong>and</strong> complete, if empty call reclaimRunning adescriptorCallingReclaimStartStartCalllib_stack_pop() toget aligneddescriptor forchannelSpecifiy channelCompletedescriptor, if cacheregion Policy hasDcahe ON, flushto SDRAM/SRAMCall lib_postq_appnd_resume_sdram()to place descriptor in post queue,append to prior descriptor executed<strong>and</strong> set resume to run descriptor torun.Traverse descriptor chain fromchainHead<strong>DMA</strong><strong>XOR</strong>[] tochainTail<strong>DMA</strong><strong>XOR</strong>[]. For each, calllib_q_get() to remove buffer from postqueue <strong>and</strong> call lib_stack_push() toreturn to free_stack.Adjust chainHead<strong>DMA</strong><strong>XOR</strong>[]to reflect descriptor returnedto free stackEndEnd<strong>APIs</strong> <strong>and</strong> Testbench White Paper 35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!