@@ -36,7 +36,7 @@
* 0: Success.
* -EACCES: Unable to find auto-registration section.
* DSP_EDCDREADSECT: Unable to read object code section.
- * DSP_EDCDLOADBASE: Unable to load code base.
+ * -EACCES: Unable to load code base.
* -EFAULT: Invalid DCD_HMANAGER handle..
* Requires:
* DCD initialized.
@@ -62,7 +62,7 @@ extern dsp_status dcd_auto_register(IN struct dcd_manager *hdcd_mgr,
* 0: Success.
* -EACCES: Unable to find auto-registration section.
* DSP_EDCDREADSECT: Unable to read object code section.
- * DSP_EDCDLOADBASE: Unable to load code base.
+ * -EACCES: Unable to load code base.
* -EFAULT: Invalid DCD_HMANAGER handle..
* Requires:
* DCD initialized.
@@ -258,7 +258,7 @@ extern dsp_status dcd_get_library_name(IN struct dcd_manager *hdcd_mgr,
* DSP_EDCDPARSESECT: Unable to parse content of object code section.
* DSP_EDCDREADSECT: Unable to read object code section.
* DSP_EDCDGETSECT: Unable to access object code section.
- * DSP_EDCDLOADBASE: Unable to load code base.
+ * -EACCES: Unable to load code base.
* -EPERM: General failure.
* -EFAULT: Invalid DCD_HMANAGER handle.
* Requires:
@@ -291,7 +291,7 @@ extern dsp_status dcd_get_object_def(IN struct dcd_manager *hdcd_mgr,
* 0: Success.
* -EACCES: Unable to find .dcd_register section.
* DSP_EDCDREADSECT: Unable to read object code section.
- * DSP_EDCDLOADBASE: Unable to load code base.
+ * -EACCES: Unable to load code base.
* -EFAULT: Invalid DCD_HMANAGER handle..
* Requires:
* DCD initialized.
@@ -467,7 +467,7 @@ dsp_status dcd_get_object_def(IN struct dcd_manager *hdcd_mgr,
status = cod_open(dcd_mgr_obj->cod_mgr, dcd_key->path,
COD_NOLOAD, &lib);
if (DSP_FAILED(status)) {
- status = DSP_EDCDLOADBASE;
+ status = -EACCES;
goto func_end;
}
@@ -560,7 +560,7 @@ dsp_status dcd_get_objects(IN struct dcd_manager *hdcd_mgr,
/* Open DSP coff file, don't load symbols. */
status = cod_open(dcd_mgr_obj->cod_mgr, pszCoffPath, COD_NOLOAD, &lib);
if (DSP_FAILED(status)) {
- status = DSP_EDCDLOADBASE;
+ status = -EACCES;
goto func_cont;
}