index c004aad23581c0ac680232ded82c52d068392170..a551a4d3480f1094c42ed51c63fa466cbef1c078 100644 (file)
/*
- * Copyright (c) 2013, Texas Instruments Incorporated
+ * Copyright (c) 2013-2015 Texas Instruments Incorporated - http://www.ti.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Void MultiProc_getConfig (MultiProc_Config * cfg)
{
int i;
+ UInt16 baseId;
assert (cfg != NULL);
memcpy (cfg, &_MultiProc_cfg, sizeof(MultiProc_Config));
LOG1("MultiProc_getConfig() - %d procs\n", _MultiProc_cfg.numProcessors);
+ LOG1("# processors in cluster: %d\n", _MultiProc_cfg.numProcsInCluster);
+ baseId = _MultiProc_cfg.baseIdOfCluster;
+ LOG1("cluster baseId: %d\n", baseId);
- for (i = 0; i < _MultiProc_cfg.numProcessors; i++) {
- LOG2("\tProc %d - \"%s\"\n", i, _MultiProc_cfg.nameList[i]);
+ for (i = 0; i < _MultiProc_cfg.numProcsInCluster; i++) {
+ LOG2("\tProcId %d - \"%s\"\n", baseId + i, _MultiProc_cfg.nameList[i]);
}
}