@@ -212,7 +212,7 @@ extern dsp_status cod_get_loader(struct cod_manager *cod_mgr_obj,
* puLen: Location to store length.
* Returns:
* 0: Success
- * COD_E_NOSYMBOLSLOADED: Symbols have not been loaded onto the board.
+ * -ESPIPE: Symbols have not been loaded onto the board.
* -ESPIPE: The symbol could not be found.
* Requires:
* COD module initialized.
@@ -242,7 +242,7 @@ extern dsp_status cod_get_section(struct cod_libraryobj *lib,
* value: value of the symbol
* Returns:
* 0: Success.
- * COD_E_NOSYMBOLSLOADED: Symbols have not been loaded onto the board.
+ * -ESPIPE: Symbols have not been loaded onto the board.
* -ESPIPE: The symbol could not be found.
* Requires:
* COD module initialized.
@@ -355,7 +355,7 @@ extern dsp_status cod_open_base(struct cod_manager *hmgr, IN char *pszCoffPath,
* pstrContent - buffer to store content of the section.
* Returns:
* 0: on success, error code on failure
- * COD_E_NOSYMBOLSLOADED: Symbols have not been loaded onto the board.
+ * -ESPIPE: Symbols have not been loaded onto the board.
* COD_E_READFAILED: Failed to read content of code section.
* Requires:
* COD module initialized.
@@ -492,7 +492,7 @@ extern dsp_status dev_get_node_manager(struct dev_object
* Returns:
* 0: Success.
* -EFAULT: Invalid hdev_obj.
- * COD_E_NOSYMBOLSLOADED: Symbols have not been loaded onto the board.
+ * -ESPIPE: Symbols have not been loaded onto the board.
* -ESPIPE: The symbol could not be found.
* Requires:
* pstrSym != NULL.
@@ -417,7 +417,7 @@ dsp_status cod_get_section(struct cod_libraryobj *lib, IN char *pstrSect,
status = cod_mgr_obj->fxns.get_sect_fxn(lib->dbll_lib, pstrSect,
puAddr, puLen);
} else {
- status = COD_E_NOSYMBOLSLOADED;
+ status = -ESPIPE;
}
DBC_ENSURE(DSP_SUCCEEDED(status) || ((*puAddr == 0) && (*puLen == 0)));
@@ -453,7 +453,7 @@ dsp_status cod_get_sym_value(struct cod_manager *hmgr, char *pstrSym,
return -ESPIPE;
}
} else {
- return COD_E_NOSYMBOLSLOADED;
+ return -ESPIPE;
}
*pul_value = dbll_sym->value;
@@ -642,7 +642,7 @@ dsp_status cod_read_section(struct cod_libraryobj *lib, IN char *pstrSect,
lib->cod_mgr->fxns.read_sect_fxn(lib->dbll_lib, pstrSect,
pstrContent, cContentSize);
else
- status = COD_E_NOSYMBOLSLOADED;
+ status = -ESPIPE;
return status;
}