summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 1e1d7d2)
raw | patch | inline | side by side (from parent 1: 1e1d7d2)
author | Govind Jeyaram <govind.j@ti.com> | |
Thu, 20 Jul 2017 20:39:56 +0000 (13:39 -0700) | ||
committer | Govind Jeyaram <govind.j@ti.com> | |
Thu, 20 Jul 2017 20:39:56 +0000 (13:39 -0700) |
pasdk/test_dsp/sap/sap.c | patch | blob | history | |
pasdk/test_dsp/sap/sap.h | patch | blob | history |
index 08f09681619c64a01bacdcf1b91de88188309341..862494d54ed62c3132f2892fd8b94f73d6c96f4c 100644 (file)
--- a/pasdk/test_dsp/sap/sap.c
+++ b/pasdk/test_dsp/sap/sap.c
#include <ti/csl/cslr_device.h>
#define EDMA_HINV NULL
#include <ti/csl/cslr_device.h>
#define EDMA_HINV NULL
+#define EDMA_NUM_PARAMS 6
#include "sap_mcasp.h"
#include <pafsio.h>
#include "sap_mcasp.h"
#include <pafsio.h>
pDevExt->firstTCC = 0;
pDevExt->optLevel = 0;
pDevExt->numParamSetup = 0;
pDevExt->firstTCC = 0;
pDevExt->optLevel = 0;
pDevExt->numParamSetup = 0;
- pDevExt->numEdmaParams = 4;
+ pDevExt->numEdmaParams = EDMA_NUM_PARAMS; // We need more than 4 spare params to handle the immediate transition from Unknown
+ // to a Known program. Cheap resource to spend.
// use dev match to fetch function table pointer for SAP
DEV2_match(SAP_NAME, &entry);
// use dev match to fetch function table pointer for SAP
DEV2_match(SAP_NAME, &entry);
index 8f14f423820088d9e34e16d926564f82055f28f0..65c51e66bd9295f80c944b8cc208aae5ba4dfcdc 100644 (file)
--- a/pasdk/test_dsp/sap/sap.h
+++ b/pasdk/test_dsp/sap/sap.h
Uint16 numSers;
Uint16 numSlots;
Uint16 numSers;
Uint16 numSlots;
- Void *pPortExt; // unused for now
- Void *pDmaExt;
+ Void *pPortExt; //unused - remove me
+ Void *pDmaExt; //unused - remove me
SAP_EDMA_Param edmaParams[MAX_EDMA_PARAM_ENTRIES];
SAP_EDMA_Param edmaParams[MAX_EDMA_PARAM_ENTRIES];
- Int optLevel;
- Int numParamSetup;
+ Int optLevel; //unused - remove me
+ Int numParamSetup; //unused - remove me
} SAP_DeviceExtension;
} SAP_DeviceExtension;