/* Save, Step 5: * Restore, Step 2: * Set the SPU_WrTagMsk channel to '01' to unmask * only tag group 0.
*/
spu_writech(MFC_WrTagMask, tag_mask);
}
staticinlinevoid build_dma_list(addr64 lscsa_ea)
{ unsignedint ea_low; int i;
/* Save, Step 6: * Restore, Step 3: * Update the effective address for the CSA in the * pre-canned DMA-list in local storage.
*/
ea_low = lscsa_ea.ui[1];
ea_low += LSCSA_BYTE_OFFSET(ls[16384]);
for (i = 0; i < 15; i++, ea_low += 16384) {
dma_list[i].size = 16384;
dma_list[i].ea_low = ea_low;
}
}
/* Save, Step 12: * Restore, Step 7: * Send a PUTLLC (tag 0) command to the MFC using * an effective address in the CSA in order to * remove any possible lock-line reservation.
*/
spu_writech(MFC_LSA, ls);
spu_writech(MFC_EAH, lscsa_ea.ui[0]);
spu_writech(MFC_EAL, lscsa_ea.ui[1]);
spu_writech(MFC_Size, size);
spu_writech(MFC_TagID, tag_id);
spu_writech(MFC_Cmd, cmd);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.