1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
323 //const TInt size = 2 * KMega; |
323 //const TInt size = 2 * KMega; |
324 //TODO have changed size to ensure that the first isr callback request in IsrBeforeDfc |
324 //TODO have changed size to ensure that the first isr callback request in IsrBeforeDfc |
325 //will only have one fragment |
325 //will only have one fragment |
326 const TInt size = 0x40000; |
326 const TInt size = 0x40000; |
327 TDmaTransferArgs dfcTransfer(0, size, size, KDmaMemAddr); |
327 TDmaTransferArgs dfcTransfer(0, size, size, KDmaMemAddr); |
328 TDmaTransferArgs isrTransfer(size, 2 * size, size, KDmaMemAddr, KDmaSyncAuto, KDmaRequestCallbackFromIsr); |
328 TDmaTransferArgs isrTransfer(2*size, 3*size, size, KDmaMemAddr, KDmaSyncAuto, KDmaRequestCallbackFromIsr); |
329 |
329 |
330 const TResultSet success = TResultSet(); |
330 const TResultSet success = TResultSet(); |
331 TResultSet queueFailure = TResultSet(). |
331 TResultSet queueFailure = TResultSet(). |
332 RequestResult(TRequestResults().QueueResult(KErrGeneral)). |
332 RequestResult(TRequestResults().QueueResult(KErrGeneral)). |
333 CallbackRecord(TCallbackRecord::Empty()). |
333 CallbackRecord(TCallbackRecord::Empty()). |