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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Intel</strong> ® GW80314 I/O <strong>Processor</strong> <strong>DMA</strong> <strong>and</strong> <strong>XOR</strong> <strong>Library</strong><strong>Library</strong> Function PrototypesE.2.6Bool lib_stack_push(XorDma_80314_Type * mgr,void * frame, enum CHANNEL channel)ItemPrototypeInputOutputPurposeOperationBoolchannel)Descriptionlib_stack_push(XorDma_80314_Type * mgr, void * frame, enum CHANNELmgr: XorDma_80314_Type pointer to data structure being accessed.frame: pointer to frame being returned to the stackchannel: either Channel 0, 1, 2, or 3Success == 0Fail == non-zeroPlace frame on stack for future reuse.Place Channel 0, 1, 2 or 3 frame on top of free stack <strong>and</strong> change stack state to show a newtop of stack.E.2.7void * lib_top_of_stack(XorDma_80314_Type * mgr,enum CHANNEL channel)ItemDescriptionPrototype void * lib_top_of_stack(XorDma_80314_Type * mgr, enum CHANNEL channel)InputOutputPurposeOperationPointer to XorDma_80314_Type being used.Engine: either Channel 0, 1, 2 or 3Pointer to TOS frame or NULL when stack is emptyGet a pointer to top frame on the stack (Either channel 0, 1, 2 <strong>and</strong> 3). This function does notchange the state of the stack. Could be used for preload.See purpose<strong>APIs</strong> <strong>and</strong> Testbench White Paper 73

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

Saved successfully!

Ooh no, something went wrong!