index c9544284a961c5a7746d765c1692e0143d2bd264..90bf11cb808b8831ae5a5648c0c312ed2c50d5b7 100644 (file)
#include "paf_alg_print.h"
#endif /* MEMSTAT_REPORT */
-//#include "dbgIdle.h" // FL: debug -- initiate IDLE memstat
+// debug
+//#include "dbgIdle.h" // initiate IDLE memstat
#define ENABLE_AE_TRACE
#ifdef ENABLE_AE_TRACE
handle->acp = ACP_create(&ACP_MDS_IACP,handle->acpParams);
if (handle->acp == NULL)
{
- //handle->fxns->log(handle,handle->logObj,
- // "AFP6: ACP instance creation failed");
Log_info0("TaskAfp: ACP instance creation failed");
}
else
{
- //extern struct {
- // int size;
- //} pafIdentification;
-
// Get pointer to ACP Status structure
((ALG_Handle)handle->acp)->fxns->algControl((IALG_Handle)(handle->acp),
ACP_GETSTATUSADDRESS1,
(IALG_Status *)&pStatus);
- // FL: (*** ?) Why STD BETA UART? Why not STD_BETA_ACP?
// Attach ACP Status structure to Beta Unit Id==STD_BETA_UART
handle->acp->fxns->attach(handle->acp,
ACP_SERIES_STD,
STD_BETA_SIGMATABLE,
(IALG_Status *)((ACP_MDS_Obj *)handle->acp)->config.sigmaTable[ACP_SERIES_STD]);
- // FL: (*** ?) STD_BETA_IDENTITY already attached in main()->systemStreamMain(), so remove this
- // Attach PAF Identification structure to Beta Unit Id==STD_BETA_IDENTITY
- //handle->acp->fxns->attach(handle->acp, ACP_SERIES_STD, STD_BETA_IDENTITY,
- // (IALG_Status *)&pafIdentification);
-
- //handle->fxns->log(handle,handle->logObj,"AFP6: ACP initialized");
Log_info0("TaskAfp: ACP initialized");
// Initialize DCS
handle->acp);
if (handle == NULL)
{
- //handle->fxns->log(handle,handle->logObj,
- // "AFP6: DCS6 creation failed");
Log_info0("TaskAfp: DCS7 creation failed");
}
else
4);
if ((handle->rxBuf == NULL) || (handle->txBuf == NULL))
{
- //handle->fxns->log(handle,handle->logObj,
- // "AFP6: Buffer allocation failed");
Log_info0("TaskAfp: Buffer allocation failed");
}
else
{
- //handle->fxns->log(handle,handle->logObj,"AFP6: AFP6 initialized");
Log_info0("TaskAfp: Initialized");
#ifdef MEMSTAT_REPORT
PAF_HEAP_INT, PAF_HEAP_INT1, PAF_HEAP_EXT,
PAF_HEAP_INT1_SHM, PAF_HEAP_EXT_SHM, PAF_HEAP_EXT_NONCACHED_SHM);
#endif /* MEMSTAT_REPORT */
- //gRunIdleMemStatRpt=1; // FL: debug
+ //gRunIdleMemStatRpt=1; // debug, allow Idle mem stat to run
// Process alpha commands
handle->fxns->process(handle);