Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

errbase.h

Go to the documentation of this file.
00001 /** ============================================================================
00002  *  @file   errbase.h
00003  *
00004  *  @path   $(DSPLINK)/gpp/inc/usr/
00005  *
00006  *  @brief  Central repository for error and status code bases and ranges for
00007  *          DSP/BIOS LINK and any Algorithm Framework built on top of LINK.
00008  *
00009  *  @ver    1.65.00.03
00010  *  ============================================================================
00011  *  @copyright Copyright (C) 2002-2009, Texas Instruments Incorporated -
00012  *  http://www.ti.com/
00013  *
00014  *  Redistribution and use in source and binary forms, with or without
00015  *  modification, are permitted provided that the following conditions
00016  *  are met:
00017  *  
00018  *  *  Redistributions of source code must retain the above copyright
00019  *     notice, this list of conditions and the following disclaimer.
00020  *  
00021  *  *  Redistributions in binary form must reproduce the above copyright
00022  *     notice, this list of conditions and the following disclaimer in the
00023  *     documentation and/or other materials provided with the distribution.
00024  *  
00025  *  *  Neither the name of Texas Instruments Incorporated nor the names of
00026  *     its contributors may be used to endorse or promote products derived
00027  *     from this software without specific prior written permission.
00028  *  
00029  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00030  *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
00031  *  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00032  *  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
00033  *  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00034  *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00035  *  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
00036  *  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
00037  *  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
00038  *  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
00039  *  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00040  *  ============================================================================
00041  */
00042 
00043 
00044 #if !defined (ERRBASE_H)
00045 #define ERRBASE_H
00046 
00047 
00048 /*  ----------------------------------- DSP/BIOS Link                   */
00049 #include <gpptypes.h>
00050 
00051 
00052 #if defined (__cplusplus)
00053 extern "C" {
00054 #endif /* defined (__cplusplus) */
00055 
00056 
00057 /* Define the return code type */
00058 typedef Int32  DSP_STATUS ;
00059 
00060 /* Success & Failure macros*/
00061 #define DSP_SUCCEEDED(status)   (    ((Int32) (status) >= (DSP_SBASE))   \
00062                                  &&  ((Int32) (status) <= (DSP_SLAST)))
00063 
00064 #define DSP_FAILED(status)      (!DSP_SUCCEEDED (status))
00065 
00066 /* Success & Failure macros*/
00067 #define RINGIO_SUCCEEDED(status) (    ((Int32) (status) >= (RINGIO_SBASE))  \
00068                                   &&  ((Int32) (status) <= (RINGIO_SLAST)))
00069 
00070 #define RINGIO_FAILED(status)    (    (!RINGIO_SUCCEEDED (status))          \
00071                                   &&  (DSP_FAILED (status)))
00072 
00073 
00074 /* Base and range of generic success codes. */
00075 #define DSP_SBASE               (DSP_STATUS)0x00008000l
00076 #define DSP_SLAST               (DSP_STATUS)0x00008500l
00077 
00078 /* Base and range of component success codes */
00079 #define RINGIO_SBASE            (DSP_STATUS)0x00008100l
00080 #define RINGIO_SLAST            (DSP_STATUS)0x000081FFl
00081 
00082 /* Base and range of generic error codes */
00083 #define DSP_EBASE               (DSP_STATUS)0x80008000l
00084 #define DSP_ELAST               (DSP_STATUS)0x800081FFl
00085 
00086 /* Base and range of component error codes */
00087 #define DSP_COMP_EBASE          (DSP_STATUS)0x80040200l
00088 #define DSP_COMP_ELAST          (DSP_STATUS)0x80047fffl
00089 
00090 
00091 /*  ============================================================================
00092  *  SUCCESS Codes
00093  *  ============================================================================
00094  */
00095 
00096 /*  ----------------------------------------------------------------------------
00097  *  SUCCESS codes: Generic
00098  *  ----------------------------------------------------------------------------
00099  */
00100 /* Generic success code */
00101 #define DSP_SOK                     (DSP_SBASE + 0x0l)
00102 
00103 
00104 /* GPP is already attached to this DSP processor */
00105 #define DSP_SALREADYATTACHED        (DSP_SBASE + 0x1l)
00106 
00107 /* This is the last object available for enumeration. */
00108 #define DSP_SENUMCOMPLETE           (DSP_SBASE + 0x2l)
00109 
00110 /* Object has been finalized successfully. */
00111 #define DSP_SFINALIZED              (DSP_SBASE + 0x3l)
00112 
00113 /* The MSGQ transport/pool is already opened. */
00114 #define DSP_SALREADYOPENED          (DSP_SBASE + 0x4l)
00115 
00116 /* The resource already exists. */
00117 #define DSP_SEXISTS                 (DSP_SBASE + 0x5l)
00118 
00119 /* The resource has been freed. */
00120 #define DSP_SFREE                   (DSP_SBASE + 0x6l)
00121 
00122 /* The DSPLINK driver has already been setup by some other
00123  * application/process.
00124  */
00125 #define DSP_SALREADYSETUP           (DSP_SBASE + 0x7l)
00126 
00127 /* The DSPLINK driver has been finalized. */
00128 #define DSP_SDESTROYED              (DSP_SBASE + 0x8l)
00129 
00130 /* The final process has detached from the specific processor. */
00131 #define DSP_SDETACHED               (DSP_SBASE + 0x9l)
00132 
00133 /* The DSP has already been loaded with an executable. */
00134 #define DSP_SALREADYLOADED          (DSP_SBASE + 0xAl)
00135 
00136 /* The DSP has already been started with an executable. */
00137 #define DSP_SALREADYSTARTED         (DSP_SBASE + 0xBl)
00138 
00139 /* The final process has stopped the DSP execution. */
00140 #define DSP_SSTOPPED                (DSP_SBASE + 0xCl)
00141 
00142 /* The final process has closed the resource (e.g. MSGQ transport) */
00143 #define DSP_SCLOSED                 (DSP_SBASE + 0xDl)
00144 
00145 /*  ----------------------------------------------------------------------------
00146  *  SUCCESS codes: RINGIO
00147  *  ----------------------------------------------------------------------------
00148  */
00149 
00150 /* Success code for RingIO component */
00151 #define RINGIO_SUCCESS              (RINGIO_SBASE + 0x0l)
00152 
00153 /* Indicates that either: 1) The amount of data requested could not be
00154                              serviced due to the presence of an attribute
00155                           2) During an attribute read if another is also present
00156                              at the same offset  */
00157 #define RINGIO_SPENDINGATTRIBUTE    (RINGIO_SBASE + 0x1l)
00158 
00159 
00160 /*  ============================================================================
00161  *  FAILURE Codes
00162  *  ============================================================================
00163  */
00164 /*  ----------------------------------------------------------------------------
00165  *  FAILURE codes: Generic
00166  *  ----------------------------------------------------------------------------
00167  */
00168 /* The caller does not have access privileges to call this function */
00169 #define DSP_EACCESSDENIED           (DSP_EBASE + 0x0l)
00170 
00171 /* The Specified Connection already exists */
00172 #define DSP_EALREADYCONNECTED       (DSP_EBASE + 0x1l)
00173 
00174 /* The GPP process is not attached to the specific processor. */
00175 #define DSP_EATTACHED               (DSP_EBASE + 0x2l)
00176 
00177 /* During enumeration a change in the number or properties of the objects
00178  * has occurred.
00179  */
00180 #define DSP_ECHANGEDURINGENUM       (DSP_EBASE + 0x3l)
00181 
00182 /* An error occurred while parsing the DSP executable file */
00183 #define DSP_ECORRUPTFILE            (DSP_EBASE + 0x4l)
00184 
00185 /* A failure occurred during a delete operation */
00186 #define DSP_EDELETE                 (DSP_EBASE + 0x5l)
00187 
00188 /* The specified direction is invalid */
00189 #define DSP_EDIRECTION              (DSP_EBASE + 0x6l)
00190 
00191 /* A stream has been issued the maximum number of buffers allowed in the
00192  * stream at once.  buffers must be reclaimed from the stream before any
00193  * more can be issued.
00194  */
00195 #define DSP_ESTREAMFULL             (DSP_EBASE + 0x7l)
00196 
00197 /* A general failure occurred */
00198 #define DSP_EFAIL                   (DSP_EBASE + 0x8l)
00199 
00200 /* The specified executable file could not be found. */
00201 #define DSP_EFILE                   (DSP_EBASE + 0x9l)
00202 
00203 /* The specified handle is invalid. */
00204 #define DSP_EHANDLE                 (DSP_EBASE + 0xAl)
00205 
00206 /* An invalid argument was specified. */
00207 #define DSP_EINVALIDARG             (DSP_EBASE + 0xBl)
00208 
00209 /* A memory allocation failure occurred. */
00210 #define DSP_EMEMORY                 (DSP_EBASE + 0xCl)
00211 
00212 /* The DSPLINK driver has not been set up. */
00213 #define DSP_ESETUP                  (DSP_EBASE + 0xDl)
00214 
00215 /* The DSP has not been started. */
00216 #define DSP_ESTARTED                (DSP_EBASE + 0xEl)
00217 
00218 /* The module has not been initialized */
00219 #define DSP_EINIT                   (DSP_EBASE + 0xFl)
00220 
00221 /* The indicated operation is not supported. */
00222 #define DSP_ENOTIMPL                (DSP_EBASE + 0x10l)
00223 
00224 /* I/O is currently pending. */
00225 #define DSP_EPENDING                (DSP_EBASE + 0x11l)
00226 
00227 /* An invalid pointer was specified. */
00228 #define DSP_EPOINTER                (DSP_EBASE + 0x12l)
00229 
00230 /* A parameter is specified outside its valid range. */
00231 #define DSP_ERANGE                  (DSP_EBASE + 0x13l)
00232 
00233 /* An invalid size parameter was specified. */
00234 #define DSP_ESIZE                   (DSP_EBASE + 0x14l)
00235 
00236 /* A stream creation failure occurred on the DSP. */
00237 #define DSP_ESTREAM                 (DSP_EBASE + 0x15l)
00238 
00239 /* A task creation failure occurred on the DSP. */
00240 #define DSP_ETASK                   (DSP_EBASE + 0x16l)
00241 
00242 /* A timeout occurred before the requested operation could complete. */
00243 #define DSP_ETIMEOUT                (DSP_EBASE + 0x17l)
00244 
00245 /* A data truncation occurred, e.g., when requesting a descriptive error
00246  * string, not enough space was allocated for the complete error message.
00247  */
00248 #define DSP_ETRUNCATED              (DSP_EBASE + 0x18l)
00249 
00250 /* The resource (e.g. MSGQ transport) is not opened. */
00251 #define DSP_EOPENED                 (DSP_EBASE + 0x19l)
00252 
00253 /* A parameter is invalid. */
00254 #define DSP_EVALUE                  (DSP_EBASE + 0x1Al)
00255 
00256 /* The state of the specified object is incorrect for the requested
00257  * operation.
00258  */
00259 #define DSP_EWRONGSTATE             (DSP_EBASE + 0x1Bl)
00260 
00261 /* The DSPLINK driver is already setup in this process. */
00262 #define DSP_EALREADYSETUP           (DSP_EBASE + 0x1Cl)
00263 
00264 /* The operation was interrupted. */
00265 #define DSP_EINTR                   (DSP_EBASE + 0x1Dl)
00266 
00267 /* The specific DSP is already started in this process. */
00268 #define DSP_EALREADYSTARTED         (DSP_EBASE + 0x1El)
00269 
00270 /* The MSGQ transport/pool is already opened in this process. */
00271 #define DSP_EALREADYOPENED          (DSP_EBASE + 0x1Fl)
00272 
00273 /* Reserved error codes */
00274 #define DSP_ERESERVED_06            (DSP_EBASE + 0x20l)
00275 #define DSP_ERESERVED_07            (DSP_EBASE + 0x21l)
00276 #define DSP_ERESERVED_08            (DSP_EBASE + 0x22l)
00277 #define DSP_ERESERVED_09            (DSP_EBASE + 0x23l)
00278 #define DSP_ERESERVED_0A            (DSP_EBASE + 0x24l)
00279 #define DSP_ERESERVED_0B            (DSP_EBASE + 0x25l)
00280 #define DSP_ERESERVED_0C            (DSP_EBASE + 0x26l)
00281 #define DSP_ERESERVED_0D            (DSP_EBASE + 0x27l)
00282 
00283 /* A requested resource is not available. */
00284 #define DSP_ERESOURCE               (DSP_EBASE + 0x28l)
00285 
00286 /* A critical error has occurred, and the DSP is being re-started. */
00287 #define DSP_ERESTART                (DSP_EBASE + 0x29l)
00288 
00289 /* A DSP memory free operation failed. */
00290 #define DSP_EFREE                   (DSP_EBASE + 0x2Al)
00291 
00292 /* A DSP I/O free operation failed. */
00293 #define DSP_EIOFREE                 (DSP_EBASE + 0x2Bl)
00294 
00295 /* Multiple instances are not allowed. */
00296 #define DSP_EMULINST                (DSP_EBASE + 0x2Cl)
00297 
00298 /* A specified entity was not found. */
00299 #define DSP_ENOTFOUND               (DSP_EBASE + 0x2Dl)
00300 
00301 /* A DSP I/O resource is not available. */
00302 #define DSP_EOUTOFIO                (DSP_EBASE + 0x2El)
00303 
00304 /* Address Translation between ARM and DSP has failed */
00305 #define DSP_ETRANSLATE              (DSP_EBASE + 0x2fl)
00306 
00307 /* Version mismatch between the GPP and DSP-sides of DSPLINK. */
00308 #define DSP_EVERSION                (DSP_EBASE + 0x30l)
00309 
00310 /* File or section load write function failed to write to DSP */
00311 #define DSP_EFWRITE                 (DSP_EBASE + 0x31l)
00312 
00313 /* Unable to find a named section in DSP executable */
00314 #define DSP_ENOSECT                 (DSP_EBASE + 0x32l)
00315 
00316 /* Reserved error code */
00317 #define DSP_ERESERVED_0F            (DSP_EBASE + 0x33l)
00318 #define DSP_ERESERVED_10            (DSP_EBASE + 0x34l)
00319 #define DSP_ERESERVED_11            (DSP_EBASE + 0x35l)
00320 #define DSP_ERESERVED_12            (DSP_EBASE + 0x36l)
00321 #define DSP_ERESERVED_13            (DSP_EBASE + 0x37l)
00322 #define DSP_ERESERVED_14            (DSP_EBASE + 0x38l)
00323 #define DSP_ERESERVED_15            (DSP_EBASE + 0x39l)
00324 #define DSP_ERESERVED_16            (DSP_EBASE + 0x3Al)
00325 #define DSP_ERESERVED_17            (DSP_EBASE + 0x3Bl)
00326 #define DSP_ERESERVED_18            (DSP_EBASE + 0x3Cl)
00327 #define DSP_ERESERVED_19            (DSP_EBASE + 0x3Dl)
00328 #define DSP_ERESERVED_1A            (DSP_EBASE + 0x3El)
00329 #define DSP_ERESERVED_1B            (DSP_EBASE + 0x3Fl)
00330 #define DSP_ERESERVED_1C            (DSP_EBASE + 0x40l)
00331 #define DSP_ERESERVED_1D            (DSP_EBASE + 0x41l)
00332 #define DSP_ERESERVED_1E            (DSP_EBASE + 0x42l)
00333 #define DSP_ERESERVED_1F            (DSP_EBASE + 0x43l)
00334 #define DSP_ERESERVED_20            (DSP_EBASE + 0x44l)
00335 #define DSP_ERESERVED_21            (DSP_EBASE + 0x45l)
00336 #define DSP_ERESERVED_22            (DSP_EBASE + 0x46l)
00337 #define DSP_ERESERVED_23            (DSP_EBASE + 0x47l)
00338 #define DSP_ERESERVED_24            (DSP_EBASE + 0x48l)
00339 #define DSP_ERESERVED_25            (DSP_EBASE + 0x49l)
00340 #define DSP_ERESERVED_26            (DSP_EBASE + 0x4al)
00341 #define DSP_ERESERVED_27            (DSP_EBASE + 0x4bl)
00342 #define DSP_ERESERVED_28            (DSP_EBASE + 0x4cl)
00343 #define DSP_ERESERVED_29            (DSP_EBASE + 0x4dl)
00344 #define DSP_ERESERVED_2A            (DSP_EBASE + 0x4el)
00345 #define DSP_ERESERVED_2B            (DSP_EBASE + 0x4fl)
00346 
00347 /* The connection requested by the client already exists */
00348 #define DSP_EALREADYEXISTS          (DSP_EBASE + 0x50l)
00349 
00350 /* Timeout parameter was "NO_WAIT", yet the operation was
00351  * not completed.
00352  */
00353 #define DSP_ENOTCOMPLETE            (DSP_EBASE + 0x51l)
00354 
00355 /* Invalid configuration. This indicates that configuration information
00356  * provided is incorrect, or the DSP configuration does not match the
00357  * configuration expected by the GPP-side.
00358  */
00359 #define DSP_ECONFIG                 (DSP_EBASE + 0x52l)
00360 
00361 /* Feature is not supported */
00362 #define DSP_ENOTSUPPORTED           (DSP_EBASE + 0x53l)
00363 
00364 /* DSP is not ready to respond to requested command */
00365 #define DSP_ENOTREADY               (DSP_EBASE + 0x54l)
00366 
00367 
00368 /*  ----------------------------------------------------------------------------
00369  *  FAILURE codes: RINGIO
00370  *  ----------------------------------------------------------------------------
00371  */
00372 #define RINGIO_EBASE                (DSP_EBASE + 0x55l)
00373 
00374 /* Generic RingIO error code */
00375 #define RINGIO_EFAILURE             (RINGIO_EBASE + 0x00l)
00376 
00377 /* Indicates that the amount of data requested could not be serviced due to the
00378    ring buffer getting wrapped */
00379 #define RINGIO_EBUFWRAP             (RINGIO_EBASE + 0x01l)
00380 
00381 /* Indicates that there is no data in the buffer for reading */
00382 #define RINGIO_EBUFEMPTY            (RINGIO_EBASE + 0x02l)
00383 
00384 /* Indicates that the buffer is full */
00385 #define RINGIO_EBUFFULL             (RINGIO_EBASE + 0x03l)
00386 
00387 /* Indicates that there is no attribute at the current, but attributes are
00388    present at a future offset */
00389 #define RINGIO_EPENDINGDATA         (RINGIO_EBASE + 0x04l)
00390 
00391 /* Indicates that attibute get() failed, need to extract variable length message
00392    getv() */
00393 #define RINGIO_EVARIABLEATTRIBUTE   (RINGIO_EBASE + 0x05l)
00394 
00395 /* Indicates that the RingIO being created already exists */
00396 #define RINGIO_EALREADYEXISTS       (RINGIO_EBASE + 0x06l)
00397 
00398 /* Indicates that the valid data is present in the RingIO
00399  * but it is not contiguous.
00400  */
00401 #define RINGIO_ENOTCONTIGUOUSDATA   (RINGIO_EBASE + 0x07l)
00402 
00403 /* Indicates that the RingIO is in a wrong state */
00404 #define RINGIO_EWRONGSTATE          (RINGIO_EBASE + 0x08l)
00405 
00406 
00407 /* Reserved error code */
00408 #define DSP_ERESERVED_BASE_1        (DSP_COMP_EBASE + 0x000l)
00409 #define DSP_ERESERVED_BASE_2        (DSP_COMP_EBASE + 0x100l)
00410 #define DSP_ERESERVED_BASE_3        (DSP_COMP_EBASE + 0x200l)
00411 #define DSP_ERESERVED_BASE_4        (DSP_COMP_EBASE + 0x300l)
00412 #define DSP_ERESERVED_BASE_5        (DSP_COMP_EBASE + 0x400l)
00413 
00414 
00415 /*  ----------------------------------------------------------------------------
00416  *  FAILURE codes: CHNL
00417  *  ----------------------------------------------------------------------------
00418  */
00419 #define CHNL_EBASE                  (DSP_COMP_EBASE + 0x500l)
00420 
00421 /* Attempt to create too many channels. */
00422 #define CHNL_E_MAXCHANNELS          (CHNL_EBASE + 0x00l)
00423 
00424 /* Reserved error code */
00425 #define CHNL_E_RESERVED_1           (CHNL_EBASE + 0x01l)
00426 
00427 /* No free channels are available. */
00428 #define CHNL_E_OUTOFSTREAMS         (CHNL_EBASE + 0x02l)
00429 
00430 /* Channel ID is out of range. */
00431 #define CHNL_E_BADCHANID            (CHNL_EBASE + 0x03l)
00432 
00433 /* Channel is already in use. */
00434 #define CHNL_E_CHANBUSY             (CHNL_EBASE + 0x04l)
00435 
00436 /* Invalid channel mode argument. */
00437 #define CHNL_E_BADMODE              (CHNL_EBASE + 0x05l)
00438 
00439 /* Timeout parameter was "NO_WAIT", yet no I/O completions
00440  * were queued.
00441  */
00442 #define CHNL_E_NOIOC                (CHNL_EBASE + 0x06l)
00443 
00444 /* I/O has been cancelled on this channel. */
00445 #define CHNL_E_CANCELLED            (CHNL_EBASE + 0x07l)
00446 
00447 /* End of stream was already requested on this output channel. */
00448 #define CHNL_E_EOS                  (CHNL_EBASE + 0x09l)
00449 
00450 /* Unable to create the channel event object. */
00451 #define CHNL_E_CREATEEVENT          (CHNL_EBASE + 0x0Al)
00452 
00453 /* Reserved error code */
00454 #define CHNL_E_RESERVED_2           (CHNL_EBASE + 0x0Bl)
00455 
00456 /* Reserved error code */
00457 #define CHNL_E_RESERVED_3           (CHNL_EBASE + 0x0Cl)
00458 
00459 /* DSP word size of zero configured for this device. */
00460 #define CHNL_E_INVALIDWORDSIZE      (CHNL_EBASE + 0x0Dl)
00461 
00462 /* Reserved error code */
00463 #define CHNL_E_RESERVED_4           (CHNL_EBASE + 0x0El)
00464 
00465 /* Reserved error code */
00466 #define CHNL_E_RESERVED_5           (CHNL_EBASE + 0x0Fl)
00467 
00468 /* Reserved error code */
00469 #define CHNL_E_RESERVED_6           (CHNL_EBASE + 0x10l)
00470 
00471 /* Unable to plug channel ISR for configured IRQ. */
00472 #define CHNL_E_ISR                  (CHNL_EBASE + 0x11l)
00473 
00474 /* No free I/O request packets are available. */
00475 #define CHNL_E_NOIORPS              (CHNL_EBASE + 0x12l)
00476 
00477 /* Buffer size is larger than the size of physical channel. */
00478 #define CHNL_E_BUFSIZE              (CHNL_EBASE + 0x13l)
00479 
00480 /* User cannot mark end of stream on an input channel. */
00481 #define CHNL_E_NOEOS                (CHNL_EBASE + 0x14l)
00482 
00483 /* Wait for flush operation on an output channel timed out. */
00484 #define CHNL_E_WAITTIMEOUT          (CHNL_EBASE + 0x15l)
00485 
00486 /* Reserved error code */
00487 #define CHNL_E_RESERVED_7           (CHNL_EBASE + 0x16l)
00488 
00489 /* Reserved error code */
00490 #define CHNL_E_RESERVED_8           (CHNL_EBASE + 0x17l)
00491 
00492 /* Unable to prepare buffer specified */
00493 #define CHNL_E_RESERVED_9           (CHNL_EBASE + 0x18l)
00494 
00495 /* Unable to Unprepare buffer specified */
00496 #define CHNL_E_RESERVED_10          (CHNL_EBASE + 0x19l)
00497 
00498 /* The operation failed because it was started from a wrong state */
00499 #define CHNL_E_WRONGSTATE           (CHNL_EBASE + 0x1Al)
00500 
00501 
00502 /*  ----------------------------------------------------------------------------
00503  *  FAILURE codes: SYNC
00504  *  ----------------------------------------------------------------------------
00505  */
00506 #define SYNC_EBASE                  (DSP_COMP_EBASE + 0x600l)
00507 
00508 /* Wait on a kernel event failed. */
00509 #define SYNC_E_FAIL                 (SYNC_EBASE + 0x00l)
00510 
00511 /* Timeout expired while waiting for event to be signalled. */
00512 #define SYNC_E_TIMEOUT              (SYNC_EBASE + 0x01l)
00513 
00514 
00515 /* Reserved error code */
00516 #define DSP_ERESERVED_BASE_6        (DSP_COMP_EBASE + 0x700l)
00517 #define DSP_ERESERVED_BASE_7        (DSP_COMP_EBASE + 0x800l)
00518 
00519 
00520 /*  ----------------------------------------------------------------------------
00521  *  FAILURE codes: IPS
00522  *  ----------------------------------------------------------------------------
00523  */
00524 /* In case of shared INT, if the device has not generated INT, then it must
00525  * return this error code, so that we can say that INT was not generated by
00526  * us and pass IRQ_NONE to linux.
00527  */
00528 #define DSP_EIRQNONE                (DSP_COMP_EBASE + 0x900l)
00529 
00530 
00531 #if defined (__cplusplus)
00532 }
00533 #endif /* defined (__cplusplus) */
00534 
00535 
00536 #endif /* !defined (ERRBASE_H) */

Generated on Fri Jul 16 14:34:02 2010 for DSP/BIOSLink by  doxygen 1.4.4